Brunch build gives error

青春壹個敷衍的年華 提交于 2019-12-25 14:24:46

问题


I'm trying to setup environment for web application that using branch.

After

npm install -d

I do,

brunch build

But, receiving following error:

27 Jul 12:08:28 - error: [Error: Cannot find module 'D:\Development\Projects\PathToProject/node_modules/brunch']

If I just create a new project with brunch new proj, build works fine.

I would appreciate any ideas, why it might not work.


回答1:


I'm not familiar with installing and running on a Win machine, but that sounds suspiciously like brunch is a local install - is there a way you can determine if it's a local or global install? Are there such things on a PC env?



来源:https://stackoverflow.com/questions/11684834/brunch-build-gives-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!