react-starter-kit icon indicating copy to clipboard operation
react-starter-kit copied to clipboard

npm start - fails

Open fawadniazi opened this issue 10 years ago • 3 comments

Hi,

I'm getting this error on running npm start

@ start /Users/zz/MyApp babel-node tools/run start

/Users/zz/MyApp/tools/start.js:42 plugins: [...(x.query ? x.query.plugins : []), ['react-transform', { ^^^

SyntaxError: Unexpected token ... at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at loader (/Users/zz/MyApp/node_modules/babel-register/lib/node.js:126:5) at Object.require.extensions.(anonymous function) as .js at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (run.js:27:18) at Module._compile (module.js:409:26)

fawadniazi avatar Mar 15 '16 09:03 fawadniazi

@fawadniazi I also had the same error. Just update node to v5.

arkeros avatar Mar 15 '16 12:03 arkeros

@arkeros Thanks!, will give it a try.

fawadniazi avatar Mar 16 '16 02:03 fawadniazi

@arkeros node v5 works for me

fawadniazi avatar Mar 16 '16 03:03 fawadniazi