Войти с помощью github
Форум /

Всем привет. На прошлой неделе обновил node.js до 5.8 и после этого похоже перестала ставиться bem-core. Я вообще ноль в node.js, но приходится с ним работать =( пытаясь разобраться в БЭМ

Для начала создал пустую директорию, куда по инструкции установки bem-core ошибки возникают в пунктах 3 и 4

3) alexander@achtung-PC:~/DeveloperWorkspace/WEB_BEM_PHP/bem-core$ npm run deps npm ERR! Linux 4.2.0-30-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "deps" npm ERR! node v5.8.0 npm ERR! npm v3.7.3

npm ERR! missing script: deps npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! /home/alexander/DeveloperWorkspace/WEB_BEM_PHP/bem-core/npm-debug.log

4) alexander@achtung-PC:~/DeveloperWorkspace/WEB_BEM_PHP/bem-core$ npm test

bem-core@2.9.0 test /home/alexander/DeveloperWorkspace/WEB_BEM_PHP/bem-core npm run lint && npm run test-all

bem-core@2.9.0 lint /home/alexander/DeveloperWorkspace/WEB_BEM_PHP/bem-core jshint-groups && jscs .

module.js:341 throw err; ^

Error: Cannot find module 'jshint' at Function.Module._resolveFilename (module.js:339:15) at Function.Module._load (module.js:290:25) at Module.require (module.js:367:17) at require (internal/module.js:16:19) at Object. (/home/alexander/DeveloperWorkspace/WEB_BEM_PHP/bem-core/node_modules/jshint-groups/bin/jshint-groups:8:14) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Function.Module.runMain (module.js:447:10)

npm ERR! Linux 4.2.0-30-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "lint" npm ERR! node v5.8.0 npm ERR! npm v3.7.3 npm ERR! code ELIFECYCLE npm ERR! bem-core@2.9.0 lint: jshint-groups && jscs . npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bem-core@2.9.0 lint script 'jshint-groups && jscs .'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the bem-core package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! jshint-groups && jscs . npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs bem-core npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls bem-core npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/alexander/DeveloperWorkspace/WEB_BEM_PHP/bem-core/npm-debug.log npm ERR! Test failed. See above for more details.