Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Can't resolve 'fs' from debug package #168

Open
darkadept opened this issue Jun 9, 2017 · 3 comments
Open

Can't resolve 'fs' from debug package #168

darkadept opened this issue Jun 9, 2017 · 3 comments

Comments

@darkadept
Copy link
Contributor

darkadept commented Jun 9, 2017

This isn't an issue with the current code base but I'm running into it with my additions to Crater.

I've taken what I could from the webpack 2 branch and tried integrating stuff from the master branch plus upgrading package versions among other things.

This error happened when I incorporated the "fix(modules) only resolve fibers from bundle.." changes.

Error message on server:

ERROR in ./build/meteor/bundle/programs/server/npm/~/debug/node.js
Module not found: Error: Can't resolve 'fs' in '/home/mike/dev/thr3/build/meteor/bundle/programs/server/npm/node_modules/debug'
 @ ./build/meteor/bundle/programs/server/npm/~/debug/node.js 163:15-28
 @ ./src/core/client/index.js
 @ multi ./src/core/client/index.js react-hot-loader/patch webpack-hot-middleware/client

ERROR in ./build/meteor/bundle/programs/server/npm/~/debug/node.js
Module not found: Error: Can't resolve 'net' in '/home/mike/dev/thr3/build/meteor/bundle/programs/server/npm/node_modules/debug'
 @ ./build/meteor/bundle/programs/server/npm/~/debug/node.js 170:16-30
 @ ./src/core/client/index.js
 @ multi ./src/core/client/index.js react-hot-loader/patch webpack-hot-middleware/client

I recall mention of something specific to the "debug" package. Is this the same problem?

@jedwards1211
Copy link
Member

jedwards1211 commented Jun 9, 2017

Probably you have a mix of webpack v1-related tools with the webpack 2 stuff. It's way past time for me to merge the webpack2 branch into master, I'll try to do that soon. The only thing that had been holding me up was a code coverage drop that I was having a devil of a time figuring out.

@darkadept
Copy link
Contributor Author

Yeah it's possible. I'll definitely help out if you start merging webpack2 back into master. I'm just not quite sure where you'd start?

@jedwards1211
Copy link
Member

Yeah, I'm trying to get there, fixing up a few other things first. Sorry it's taking me long, sometimes it's really horrible trying to get the CI build to work after I change anything, because there are so many damn tools at play.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants