Skip to content
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' #85

Open
lauff opened this issue Feb 13, 2020 · 2 comments
Open

cannot find module 'webpack' #85

lauff opened this issue Feb 13, 2020 · 2 comments

Comments

@lauff
Copy link

lauff commented Feb 13, 2020

I tried to run the react example from this repository, but Meteor exits with

=> Exited with code: 1
W20200213-15:27:10.232(0)? (STDERR) /root/.meteor/packages/meteor-tool/.1.8.1.1a5ebbe.mcw0j++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20200213-15:27:10.233(0)? (STDERR) throw(ex);
W20200213-15:27:10.237(0)? (STDERR) ^
W20200213-15:27:10.238(0)? (STDERR)
W20200213-15:27:10.238(0)? (STDERR) Error: Cannot find module 'webpack'
W20200213-15:27:10.238(0)? (STDERR) at Function.Module._resolveFilename (module.js:548:15)
W20200213-15:27:10.239(0)? (STDERR) at Function.Module._load (module.js:475:25)
W20200213-15:27:10.239(0)? (STDERR) at Module.require (module.js:597:17)
W20200213-15:27:10.239(0)? (STDERR) at require (internal/module.js:11:18)
W20200213-15:27:10.240(0)? (STDERR) at Object. (/app/webpack.config.js:1:17)
W20200213-15:27:10.240(0)? (STDERR) at Module._compile (module.js:653:30)
W20200213-15:27:10.240(0)? (STDERR) at Object.Module._extensions..js (module.js:664:10)
W20200213-15:27:10.241(0)? (STDERR) at Module.load (module.js:566:32)
W20200213-15:27:10.241(0)? (STDERR) at tryModuleLoad (module.js:506:12)
W20200213-15:27:10.241(0)? (STDERR) at Function.Module._load (module.js:498:3)
W20200213-15:27:10.242(0)? (STDERR) at Module.require (module.js:597:17)
W20200213-15:27:10.249(0)? (STDERR) at require (internal/module.js:11:18)
W20200213-15:27:10.250(0)? (STDERR) at Object.require (/app2/.meteor/local/build/programs/server/boot.js:292:20)
W20200213-15:27:10.250(0)? (STDERR) at packages/ardatan_webpack-dev-middleware.js:252:45
W20200213-15:27:10.250(0)? (STDERR) at packages/ardatan_webpack-dev-middleware.js:386:4
W20200213-15:27:10.250(0)? (STDERR) at packages/ardatan_webpack-dev-middleware.js:392:3

@lauff
Copy link
Author

lauff commented Feb 13, 2020

no idea why - but it is working now...

@lauff lauff closed this as completed Feb 13, 2020
@lauff
Copy link
Author

lauff commented Feb 14, 2020

strange, now I get the error again - using the same project on different PCs

@lauff lauff reopened this Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant