fbsamples / live-comments-teleprompter

Example code shows how to retrieve comments and reactions for a Facebook Live video.
Other
89 stars 34 forks source link

webpack not running #6

Closed basvcds closed 6 years ago

basvcds commented 6 years ago

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 6 years ago

If you run:

npm install -g webpack

or...

npm install -g webpack-cli

Does that resolve it?

bradisbell commented 6 years ago

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 6 years ago

The new branch worked! Thanks a bunch!