Brunch build gives error

2019-08-27 18:44发布

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条回答
再贱就再见
2楼-- · 2019-08-27 19:31

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?

查看更多
登录 后发表回答