Created
September 3, 2015 12:18
-
-
Save lucasmotta/37142dc1747389417d62 to your computer and use it in GitHub Desktop.
Issue when running the react-webpack-node project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git:(upstream ⚡ master) 10A npm run dev | |
> [email protected] dev /Users/*******/Projects/personal/react-designer-news | |
> NODE_ENV=development node server/index.js | |
Environment: development | |
/Users/*******/Projects/personal/react-designer-news/public/assets/app.server.js:69 | |
var _reactRouterLibLocation = __webpack_require__(!(function webpackMissingModule() { var e = new Error("Cannot find module \"react-router/lib/Location\""); e.code = 'MODULE_NOT_FOUND'; throw e; }())); | |
^ | |
Error: Cannot find module "react-router/lib/Location" | |
at webpackMissingModule (/Users/*******/Projects/personal/react-designer-news/public/assets/app.server.js:69:96) | |
at Object.<anonymous> (/Users/*******/Projects/personal/react-designer-news/public/assets/app.server.js:69:198) | |
at __webpack_require__ (/Users/*******/Projects/personal/react-designer-news/public/assets/app.server.js:21:30) | |
at module.exports.Object.defineProperty.value (/Users/*******/Projects/personal/react-designer-news/public/assets/app.server.js:41:18) | |
at Object.<anonymous> (/Users/*******/Projects/personal/react-designer-news/public/assets/app.server.js:44:10) | |
at Module._compile (module.js:430:26) | |
at Object.Module._extensions..js (module.js:448:10) | |
at Module.load (module.js:355:32) | |
at Function.Module._load (module.js:310:12) | |
at Module.require (module.js:365:17) | |
at require (module.js:384:17) | |
at Object.<anonymous> (/Users/*******/Projects/personal/react-designer-news/server/config/routes.js:11:11) | |
at Module._compile (module.js:430:26) | |
at Object.Module._extensions..js (module.js:448:10) | |
at Module.load (module.js:355:32) | |
at Function.Module._load (module.js:310:12) | |
npm ERR! Darwin 15.0.0 | |
npm ERR! argv "/Users/*******/.nvm/versions/io.js/v3.3.0/bin/iojs" "/Users/*******/.nvm/versions/io.js/v3.3.0/bin/npm" "run" "dev" | |
npm ERR! node v3.3.0 | |
npm ERR! npm v2.13.3 | |
npm ERR! code ELIFECYCLE | |
npm ERR! [email protected] dev: `NODE_ENV=development node server/index.js` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] dev script 'NODE_ENV=development node server/index.js'. | |
npm ERR! This is most likely a problem with the react-designer-news package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! NODE_ENV=development node server/index.js | |
npm ERR! You can get their info via: | |
npm ERR! npm owner ls react-designer-news | |
npm ERR! There is likely additional logging output above. | |
npm ERR! Please include the following file with any support request: | |
npm ERR! /Users/*******/Projects/personal/react-designer-news/npm-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
any fix? I am having same issue