@apavlyutkin

Как решить проблему в консоли при запуске BEM проекта?

NODE: v6.11.1
NPM: v3.10.10

Запуская сервер разработки командой
./node_modules/.bin/enb server

После чего выдает ошибку:
ENB server started at http://0.0.0.0:8181
01:54:25.747 - build started
01:54:25.762 - [rebuild] [desktop.bundles\index\index.bemjson.js] file-provider
01:54:25.923 - [rebuild] [desktop.bundles\index\index.levels] levels
01:54:25.924 - [rebuild] [desktop.bundles\index\index.bemdecl.js] bemjson-to-bemdecl
01:54:26.007 - [rebuild] [desktop.bundles\index\index.deps.js] deps
01:54:26.021 - [rebuild] [desktop.bundles\index\index.files] files
01:54:26.021 - [rebuild] [desktop.bundles\index\index.dirs] files
01:54:26.466 - [rebuild] [desktop.bundles\index\index.bemhtml.js] bemhtml
01:54:26.520 - [rebuild] [desktop.bundles\index\index.html] bemjson-to-html
01:54:26.520 - build finished - 1815ms
----- \desktop.bundles\index\index.html 1829ms
01:54:26.564 - build started
01:54:26.566 - build started
01:54:26.573 - [rebuild] [desktop.bundles\index\index.bemjson.js] file-provider
01:54:26.577 - [rebuild] [desktop.bundles\index\index.bemjson.js] file-provider
01:54:26.731 - [rebuild] [desktop.bundles\index\index.levels] levels
01:54:26.882 - [rebuild] [desktop.bundles\index\index.bemdecl.js] bemjson-to-bemdecl
01:54:26.883 - [rebuild] [desktop.bundles\index\index.levels] levels
01:54:26.886 - [rebuild] [desktop.bundles\index\index.bemdecl.js] bemjson-to-bemdecl
01:54:26.967 - [rebuild] [desktop.bundles\index\index.deps.js] deps
01:54:26.973 - [rebuild] [desktop.bundles\index\index.files] files
01:54:26.973 - [rebuild] [desktop.bundles\index\index.dirs] files
01:54:26.984 - [rebuild] [desktop.bundles\index\index.deps.js] deps
01:54:26.991 - [rebuild] [desktop.bundles\index\index.files] files
01:54:26.991 - [rebuild] [desktop.bundles\index\index.dirs] files
01:54:27.057 - [rebuild] [desktop.bundles\index\index.bemhtml.bemdecl.js] deps-by-tech-to-bemdecl
01:54:27.061 - [rebuild] [desktop.bundles\index\index.browser.js] browser-js
01:54:27.062 - [rebuild] [desktop.bundles\index\index.bemhtml.deps.js] deps
01:54:27.062 - [rebuild] [desktop.bundles\index\index.bemhtml.files] files
01:54:27.062 - [rebuild] [desktop.bundles\index\index.bemhtml.dirs] files
01:54:27.067 - [rebuild] [desktop.bundles\index\index.browser.bemhtml.js] bemhtml
01:54:27.072 - [rebuild] [desktop.bundles\index\index.js] file-merge
01:54:27.459 - [rebuild] [desktop.bundles\index\index.min.js] borschik
01:54:27.460 - build finished - 902ms
01:54:27.466 - [rebuild] [desktop.bundles\index\index.css] enb-postcss
----- \desktop.bundles\index\index.min.js 914ms
01:54:27.766 - [failed] [desktop.bundles\index\index.min.css] borschik
01:54:27.766 - build failed
Error: ENOENT: no such file or directory, open 'C:\Users\Artem%20Pavlyutkin\Desktop\project\desktop.bundles\index\index.css'
    at Error (native)
    at Object.fs.openSync (fs.js:641:18)
    at Object.fs.readFileSync (fs.js:509:33)
    at read (C:\Users\Artem Pavlyutkin\Desktop\project\node_modules\borschik\lib\tech.js:116:42)
    at createFile (C:\Users\Artem Pavlyutkin\Desktop\project\node_modules\borschik\lib\tech.js:27:37)
    at process (C:\Users\Artem Pavlyutkin\Desktop\project\node_modules\borschik\lib\tech.js:35:24)
    at Cmd.<anonymous> (C:\Users\Artem Pavlyutkin\Desktop\project\node_modules\borschik\lib\coa.js:139:38)
    at Q.when.prev (C:\Users\Artem Pavlyutkin\Desktop\project\node_modules\borschik\node_modules\coa\lib\cmd.js:416:45)
    at _fulfilled (C:\Users\Artem Pavlyutkin\Desktop\project\node_modules\q\q.js:854:54)
    at self.promiseDispatch.done (C:\Users\Artem Pavlyutkin\Desktop\Мафия верстка с БЭМ\mafia\node_modules\q\q.js:883:30)
  • Вопрос задан
  • 189 просмотров
Пригласить эксперта
Ответы на вопрос 1
@ilyarsoftware
Для таки вопросов место тут bem/project-stub/issues.

Проблема вероятно связна местом расположения проекта, точнее с пробелов в имени пути.

Думаю если переместить его, например в C:\projects\project, проблема уйдет.
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы