harunurhan / repodoctor

Tool for ranking and improving github repos based on best practices
MIT License
2 stars 2 forks source link

Getting an error on npm install #14

Open abbycabs opened 8 years ago

abbycabs commented 8 years ago

ModuleNotFoundError: Module not found: Error: Cannot resolve module 'whatwg-fetch' in /Users/abigail/Projects/repologist/client/utils
    at /Users/abigail/Projects/repologist/node_modules/webpack/lib/Compilation.js:229:38
    at onDoneResolving (/Users/abigail/Projects/repologist/node_modules/webpack/lib/NormalModuleFactory.js:29:20)
    at /Users/abigail/Projects/repologist/node_modules/webpack/lib/NormalModuleFactory.js:85:20
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/async/lib/async.js:726:13
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/async/lib/async.js:52:16
    at done (/Users/abigail/Projects/repologist/node_modules/webpack/node_modules/async/lib/async.js:241:17)
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/async/lib/async.js:44:16
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/async/lib/async.js:723:17
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/async/lib/async.js:167:37
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:24:19
    at onResolved (/Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:38:18)
    at innerCallback (/Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:94:11)
    at loggingCallbackWrapper (/Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/createInnerCallback.js:21:19)
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/tapable/lib/Tapable.js:134:6
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/ModulesInDirectoriesPlugin.js:54:23
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:191:15
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/ModulesInDirectoriesPlugin.js:45:26
    at loggingCallbackWrapper (/Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/createInnerCallback.js:21:19)
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/tapable/lib/Tapable.js:134:6
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:122:33
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:191:15
    at applyPluginsParallelBailResult.createInnerCallback.log (/Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:110:4)
    at loggingCallbackWrapper (/Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/createInnerCallback.js:21:19)
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/tapable/lib/Tapable.js:134:6
    at Tapable.<anonymous> (/Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/FileAppendPlugin.js:31:26)
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:191:15
    at /Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/FileAppendPlugin.js:28:12
    at Storage.finished (/Users/abigail/Projects/repologist/node_modules/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:38:16)
    at FSReqWrap.oncomplete (fs.js:95:15)
resolve module whatwg-fetch in /Users/abigail/Projects/repologist/client/utils
  looking for modules in /Users/abigail/Projects/repologist/node_modules
    /Users/abigail/Projects/repologist/node_modules/whatwg-fetch doesn't exist (module as directory)
    resolve 'file' whatwg-fetch in /Users/abigail/Projects/repologist/node_modules
      resolve file
        /Users/abigail/Projects/repologist/node_modules/whatwg-fetch doesn't exist
        /Users/abigail/Projects/repologist/node_modules/whatwg-fetch.js doesn't exist
        /Users/abigail/Projects/repologist/node_modules/whatwg-fetch.jsx doesn't exist
        /Users/abigail/Projects/repologist/node_modules/whatwg-fetch.scss doesn't exist
  looking for modules in /Users/abigail/Projects/repologist/client
    /Users/abigail/Projects/repologist/client/whatwg-fetch doesn't exist (module as directory)
    resolve 'file' whatwg-fetch in /Users/abigail/Projects/repologist/client
      resolve file
        /Users/abigail/Projects/repologist/client/whatwg-fetch doesn't exist
        /Users/abigail/Projects/repologist/client/whatwg-fetch.js doesn't exist
        /Users/abigail/Projects/repologist/client/whatwg-fetch.jsx doesn't exist
        /Users/abigail/Projects/repologist/client/whatwg-fetch.scss doesn't exist

npm ERR! Darwin 13.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "run" "dist"
npm ERR! node v0.12.2
npm ERR! npm  v2.14.14
npm ERR! code ELIFECYCLE
npm ERR! repologist@0.0.1 dist: `NODE_ENV=production webpack -p`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the repologist@0.0.1 dist script 'NODE_ENV=production webpack -p'.
npm ERR! This is most likely a problem with the repologist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     NODE_ENV=production webpack -p
npm ERR! You can get their info via:
npm ERR!     npm owner ls repologist
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/abigail/Projects/repologist/npm-debug.log

npm ERR! Darwin 13.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.2
npm ERR! npm  v2.14.14
npm ERR! code ELIFECYCLE
npm ERR! repologist@0.0.1 postinstall: `npm run dist`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the repologist@0.0.1 postinstall script 'npm run dist'.
npm ERR! This is most likely a problem with the repologist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run dist
npm ERR! You can get their info via:
npm ERR!     npm owner ls repologist
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/abigail/Projects/repologist/npm-debug.log