webpack not running
Closed this issue · 3 comments
basvcds commented
When following the tutorial and running 'webpack' on osx, i get the following message:
The CLI moved into a separate package: webpack-cli.
Please install 'webpack-cli' in addition to webpack itself to use the CLI.
-> When using npm: npm install webpack-cli -D
-> When using yarn: yarn add webpack-cli -D
So i run npm install webpack-cli -D
, but running webpack-cli after that results in an error:
-bash: webpack-cli: command not found
I do see webpack and webpack-cli sitting in the mode_modules folder, what am I doing wrong?
bradisbell commented
If you run:
npm install -g webpack
or...
npm install -g webpack-cli
Does that resolve it?
bradisbell commented
Please try npm run build
with the fixBuildWebpackDep branch I just put up. I think that will solve it for you. Let me know either way, thanks.
basvcds commented
The new branch worked! Thanks a bunch!