gulp-sourcemaps: Error: Cannot find module './src/init'
Getting this error while running npm install
this just started happening on multiple projects all at once. anybody been experiencing that as well?
Error: Cannot find module './src/init' at Function.Module._resolveFilename (module.js:339:15) at Function.Module._load (module.js:290:25) at Module.require (module.js:367:17) at require (internal/module.js:20:19) at Object.<anonymous> (/Users/sivan lahav/dev/projects/digit-ifabric/node_modules/gulp-sourcemaps/index.js:4:9) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Module.require (module.js:367:17)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 6
- Comments: 36 (2 by maintainers)
Commits related to this issue
- Lock gulp sourcemap version to fix issue documented here https://github.com/floridoo/gulp-sourcemaps/issues/243 — committed to bids-standard/bids-validator by deleted user 8 years ago
- Add doctored npm-shrinkwrap.json file to work around https://github.com/floridoo/gulp-sourcemaps/issues/243 — committed to mapbox/mapbox-gl-js by deleted user 8 years ago
@nmccready Perhaps it would be more productive to help fix the issue than to lock the conversation and go to the gym 😕
@toddlucas npm shrinkwrap? https://docs.npmjs.com/cli/shrinkwrap
@bcherny
Perhaps it would be more constructive if you just leaved existing issues as is and do thumbs up. Why do you think I locked it? I am getting spammed with emails. Why do you think @floridoo isn’t responding? Again, (this is a guess) he is sick of the emails I am sure and I bet he is unsubscribed from the repo.
I don’t want to start a fight, but this kind of stuff is what leads to absolute burn out. I am trying to help. But instead I am getting crucified.
One thing that can help with this in the future is unpublishing a known-completely-broken version right away. This one falls within our (npm’s) 24-hour window, so would have been allowed, and solved the immediate breakage.
Thanks @steinbergkh !
Yes, we’re stuck since it’s a dependency of another module.
already reported, see #238
Fix your version to 1.7.x while they work on a fix
But anyway, thank you so much for fixing it.
@nmccready it’s probably because of the fact that all of us are burned out already and after seeing “I’ll fix it after gym” it immediately annoys the other people who read.
People (at least me) is annoyed by the attitude of the response when they saw their build is broken without doing anything when they came here to seek for a help and saw that.
This looks like a dupe of this: https://github.com/floridoo/gulp-sourcemaps/issues/238