question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Server isn't compatible with Node v0.12

See original GitHub issue

hey guys, first time trying to run the boilerplate… im on osx yosemite. i got thru the npm install… but here is the console output after i run “npm start”:

> react-boilerplate@3.0.0 start /Shared/www/tacotown/tacofinder/react-site
> npm run start:tunnel


> react-boilerplate@3.0.0 start:tunnel /Shared/www/tacotown/tacofinder/react-site
> cross-env NODE_ENV=development node server

/Shared/www/tacotown/tacofinder/react-site/server/index.js:25
app.listen(port, (err) => {
                       ^^
SyntaxError: Unexpected token =>
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "run" "start:tunnel"
npm ERR! node v0.12.4
npm ERR! npm  v3.9.2
npm ERR! code ELIFECYCLE
npm ERR! react-boilerplate@3.0.0 start:tunnel: `cross-env NODE_ENV=development node server`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-boilerplate@3.0.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 react-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 react-boilerplate
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls react-boilerplate
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Shared/www/tacotown/tacofinder/react-site/npm-debug.log

npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "start"
npm ERR! node v0.12.4
npm ERR! npm  v3.9.2
npm ERR! code ELIFECYCLE
npm ERR! react-boilerplate@3.0.0 start: `npm run start:tunnel`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-boilerplate@3.0.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 react-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 react-boilerplate
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls react-boilerplate
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Shared/www/tacotown/tacofinder/react-site/npm-debug.log

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
chappydbozcommented, May 20, 2016

issue resolved. thanks!

0reactions
lock[bot]commented, May 30, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node 0.12.0 incompatibility · Issue #25 - GitHub
I recently updated to node 0.12.0 et get the following error with passport-windowsauth 0.1.11. $ node server.js module.js:355 Module.
Read more >
Installing a custom version of NVM and Node.js
Overview This article walks you through installing Node.js using Node Version Manager (nvm) on a Shared, VPS or Dedicated Server. ...
Read more >
How to install a specific version of Node on Ubuntu?
The n module worked for me. Run this code to clear npm's cache, install n, and install the latest stable version of Node:...
Read more >
How To Install Node.js on a CentOS 7 server - DigitalOcean
wget http://nodejs.org/dist/v0.10.30/node-v0.10.30.tar.gz ... to audit the script to make sure it isn't doing anything you don't agree with.
Read more >
How to install multiple versions of Node.js in Windows using ...
As it's very probably that you have Node.js installed with the default installer of the official website, you need to uninstall it. ,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found