Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-24180

Fix Nuxeo Web UI build on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.10
    • Fix Version/s: 9.10-HF01, 10.1
    • Component/s: Web UI

      Description

      It is failing because of lint check:

      Following error just happened:
          [exec] > nuxeo-web-ui@2.2.0 lint C:\SOURCES\nuxeo\9.10\nuxeo\nuxeo\addons\nuxeo-web-ui
          [exec] > gulp lint && polymer lint -i elements/*/*.html
          [exec]
          [exec] [14:32:06] Using gulpfile C:\SOURCES\nuxeo\9.10\nuxeo\nuxeo\addons\nuxeo-web-ui\gulpfile.js
          [exec] [14:32:06] Starting 'lint'...
          [exec] [14:32:13] Finished 'lint' after 6.69 s
          [exec]
          [exec]
          [exec] [object Object]
          [exec]
          [exec] Found  1 errors.
          [exec] npm ERR! code ELIFECYCLE
          [exec] npm ERR! errno 1
          [exec] npm ERR! nuxeo-web-ui@2.2.0 lint: `gulp lint && polymer lint -i elements/*/*.html`
          [exec] npm ERR! Exit status 1
          [exec] npm ERR!
          [exec] npm ERR! Failed at the nuxeo-web-ui@2.2.0 lint script.
          [exec] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      *En ligne de commande:*
      C:\SOURCES\nuxeo\9.10\nuxeo\nuxeo\addons\nuxeo-web-ui>gulp lint & echo %errorlevel%
      [14:37:28] Using gulpfile C:\SOURCES\nuxeo\9.10\nuxeo\nuxeo\addons\nuxeo-web-ui\gulpfile.js
      [14:37:28] Starting 'lint'...
      [14:37:33] Finished 'lint' after 4.35 s
      1
      
      C:\SOURCES\nuxeo\9.10\nuxeo\nuxeo\addons\nuxeo-web-ui>node polymer lint -i elements/*/*.html & echo %errorlevel%
      0
      
      ===> gulp lint semble retourner une/des erreur(s)
      
      NOTE ON WINDOWS ERRORLEVEL
      variable ERRORLEVEL. C'est cette variable que vous
      pouvez tester (uniquement dans un fichier batch) à l'aide de la commande
      IF ERRORLEVEL ou IF NOT ERRORLEVEL.
      La valeur d'une ERRORLEVEL est codée sur 8 bits, elle est donc comprise
      entre 0 et 255.
      En général, les commandes renvoient 0 si elles se sont exécutées correctement et 1 si la commande a échoué.
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m