ardatan / ardatan/meteor-webpack

cannot find module 'webpack'

Open
#85 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
123
Forks
28
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the React example and begin at webpack.config.js:1, then follow the startup trace through packages/ardatan_webpack-dev-middleware.js. Done means the example starts without the “Cannot find module 'webpack'” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.