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

Проект тут: https://github.com/mikhailmakarov/zhifu-first-bem

Задача собрать всю статику и html, css, js в папку dist. Подскажите пожалуйста.

Я только начал изучать BEM. Может я что-то не правильно делаю.

Вот что в npm-debug.log при выполнении команды npm run dist:

17 error Windows_NT 6.3.9600 18 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dist" 19 error node v5.1.1 20 error npm v3.3.12 21 error code ELIFECYCLE 22 error zhifu-first-bem@1.0.0 dist: YENV=production enb make dist 22 error Exit status 1 23 error Failed at the zhifu-first-bem@1.0.0 dist script 'YENV=production enb make dist'. 23 error Make sure you have the latest version of node.js and npm installed. 23 error If you do, this is most likely a problem with the zhifu-first-bem package, 23 error not with npm itself. 23 error Tell the author that this fails on your system: 23 error YENV=production enb make dist 23 error You can get their info via: 23 error npm owner ls zhifu-first-bem 23 error There is likely additional logging output above. 24 verbose exit [ 1, true ]