Skip to content

Instantly share code, notes, and snippets.

@tlrobinson
Last active June 1, 2016 05:10
Show Gist options
  • Save tlrobinson/b644b9e26057ee13e3b3 to your computer and use it in GitHub Desktop.
Save tlrobinson/b644b9e26057ee13e3b3 to your computer and use it in GitHub Desktop.
every npm/node DLL-hell related error I encounter
metabase/ on master $ npm run build-hot
> [email protected] build-hot /Users/tlrobinson/Sync/Work/Metabase/metabase
> NODE_ENV=hot ./node_modules/webpack/bin/webpack.js && NODE_ENV=hot node_modules/webpack-dev-server/bin/webpack-dev-server.js --hot --inline --content-base frontend
module.js:339
throw err;
^
Error: Cannot find module 'optimist'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/Users/tlrobinson/Sync/Work/Metabase/metabase/node_modules/webpack/bin/webpack.js:15:16)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:467:10)
npm ERR! Darwin 15.0.0
npm ERR! argv "/Users/tlrobinson/.nvm/versions/node/v4.2.3/bin/node" "/Users/tlrobinson/.nvm/versions/node/v4.2.3/bin/npm" "run" "build-hot"
npm ERR! node v4.2.3
npm ERR! npm v2.14.7
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build-hot: `NODE_ENV=hot ./node_modules/webpack/bin/webpack.js && NODE_ENV=hot node_modules/webpack-dev-server/bin/webpack-dev-server.js --hot --inline --content-base frontend`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build-hot script 'NODE_ENV=hot ./node_modules/webpack/bin/webpack.js && NODE_ENV=hot node_modules/webpack-dev-server/bin/webpack-dev-server.js --hot --inline --content-base frontend'.
npm ERR! This is most likely a problem with the metabase package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! NODE_ENV=hot ./node_modules/webpack/bin/webpack.js && NODE_ENV=hot node_modules/webpack-dev-server/bin/webpack-dev-server.js --hot --inline --content-base frontend
npm ERR! You can get their info via:
npm ERR! npm owner ls metabase
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/tlrobinson/Sync/Work/Metabase/metabase/npm-debug.log
metabase/ $ npm run shrinkwrap
> [email protected] shrinkwrap /Users/tlrobinson/Sync/Work/Metabase/metabase
> npm shrinkwrap --dev
npm ERR! Darwin 15.2.0
npm ERR! argv "/Users/tlrobinson/.nvm/versions/node/v4.2.3/bin/node" "/Users/tlrobinson/.nvm/versions/node/v4.2.3/bin/npm" "shrinkwrap" "--dev"
npm ERR! node v4.2.3
npm ERR! npm v2.14.15
npm ERR! Problems were encountered
npm ERR! Please correct and try again.
npm ERR! invalid: [email protected] /Users/tlrobinson/Sync/Work/Metabase/metabase/node_modules/react-components
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /Users/tlrobinson/Sync/Work/Metabase/metabase/npm-debug.log
npm ERR! Darwin 15.2.0
npm ERR! argv "/Users/tlrobinson/.nvm/versions/node/v4.2.3/bin/node" "/Users/tlrobinson/.nvm/versions/node/v4.2.3/bin/npm" "run" "shrinkwrap"
npm ERR! node v4.2.3
npm ERR! npm v2.14.15
npm ERR! code ELIFECYCLE
npm ERR! [email protected] shrinkwrap: `npm shrinkwrap --dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] shrinkwrap script 'npm shrinkwrap --dev'.
npm ERR! This is most likely a problem with the metabase package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm shrinkwrap --dev
npm ERR! You can get their info via:
npm ERR! npm owner ls metabase
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/tlrobinson/Sync/Work/Metabase/metabase/npm-debug.log
npm i -g [email protected] [email protected]
npm ERR! Darwin 15.5.0
npm ERR! argv "/Users/tlrobinson/.nvm/versions/node/v4.4.4/bin/node" "/usr/local/bin/npm" "i" "-g" "[email protected]" "[email protected]"
npm ERR! node v4.4.4
npm ERR! npm v2.15.6
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.8
npm ERR! Please include the following file with any support request:
npm ERR! /Users/tlrobinson/Sync/Projects/pipes/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment