-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find module 'webpack' #217
Comments
Have you run |
@gauravtiwari yep |
@gauravtiwari, I got this error. |
You get that error because webpack isn't installed. Could you run this |
Btw, what version of webpacker you using? It's 1.1 |
Got same error. Decided this way:
|
Check the prerequisites of webpacker 1.1 https://github.com/rails/webpacker#prerequisites |
Would be nice if we could programmatically check these prerequisites and give the right error message on what to do.
… On Apr 1, 2017, at 14:20, Bryan Lim ***@***.***> wrote:
Check the prerequisites of webpacker 1.1 https://github.com/rails/webpacker#prerequisites
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@gambala, thx bro. |
I try to understand with webpack and such error after such launch starts ./bin/webpack-dev-server
In another terminal. PLS help me.
`module.js:327
throw err;
^
Error: Cannot find module 'webpack'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/home/andrew/railsapp/wpacktest/node_modules/webpack-dev-server/lib/Server.js:15:17)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
`
The text was updated successfully, but these errors were encountered: