-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 9.10
-
Component/s: Web UI
-
Tags:
-
Story Points:1
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é.