[v3.0.0] Server fails to start on node 5
See original GitHub issueI tried installing and running npm start with node 5 on Ubuntu 14.0.4 and got the following error
michael@charon
~/code/react-boilerplate> npm start
> reactjs-boilerplate@2.4.0 start /home/michael/code/react-boilerplate
> npm run start:tunnel
> reactjs-boilerplate@2.4.0 start:tunnel /home/michael/code/react-boilerplate
> cross-env NODE_ENV=development node server
module.js:341
throw err;
^
Error: Cannot find module '../features'
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:16:19)
at Object.<anonymous> (/home/michael/code/react-boilerplate/node_modules/caniuse-api/dist/index.js:19:32)
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)
at require (internal/module.js:16:19)
at Object.<anonymous> (/home/michael/code/react-boilerplate/node_modules/postcss-cssnext/lib/index.js:11:19)
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)
npm ERR! Linux 3.13.0-79-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start:tunnel"
npm ERR! node v5.10.1
npm ERR! npm v3.8.3
npm ERR! code ELIFECYCLE
npm ERR! reactjs-boilerplate@2.4.0 start:tunnel: `cross-env NODE_ENV=development node server`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the reactjs-boilerplate@2.4.0 start:tunnel script 'cross-env NODE_ENV=development node server'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the reactjs-boilerplate package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=development node server
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs reactjs-boilerplate
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls reactjs-boilerplate
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/michael/code/react-boilerplate/npm-debug.log
npm ERR! Linux 3.13.0-79-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v5.10.1
npm ERR! npm v3.8.3
npm ERR! code ELIFECYCLE
npm ERR! reactjs-boilerplate@2.4.0 start: `npm run start:tunnel`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the reactjs-boilerplate@2.4.0 start script 'npm run start:tunnel'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the reactjs-boilerplate package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run start:tunnel
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs reactjs-boilerplate
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls reactjs-boilerplate
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/michael/code/react-boilerplate/npm-debug.log
If I swap to node v4.4.2 (npm 2.15.0) all is well
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Problem with importing node-fetch v3.0.0 and node v16.5.0
Even though I import node fetch as instructed for v3.0.0: import fetch from 'node-fetch'; I get en error: Error: Must use import to...
Read more >node server crashes #9314 - Asp.Net Zero Support
In desktop development environment, node server periodically (and ... Failed at the abp-zero-template@8.0.0 start script. npm ERR!
Read more >error: This is probably not a problem with npm. There is likely ...
we were using "npm run build -- --configuration=prod --base-href=/path/". It worked for all other config params except this prod.
Read more >Recover from a Node Failure - Tableau Help
If there is a problem with one of your server nodes, and you have redundant processes on your other nodes, Tableau Server can...
Read more >Elastic Beanstalk supported platforms - AWS Documentation
AWS Elastic Beanstalk provides pre-configured platforms for programming languages (Java, PHP, Python, Ruby, Go), web containers (Tomcat, Passenger, Puma), ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Me too. on osx 10.11.x. but node v6.0
my err:
I see the exact same thing on windows, node v5.11.0.
npm rebuilddoes not solve it for me.