Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

npm start does not work #66

Closed
yo34 opened this issue Feb 17, 2016 · 2 comments
Closed

npm start does not work #66

yo34 opened this issue Feb 17, 2016 · 2 comments

Comments

@yo34
Copy link

yo34 commented Feb 17, 2016

Hello,

I have this issue when trying to start this kit :

> relay-starter-kit@0.1.0 start D:\appli\node\relay-starter-kit
> babel-node ./server.js

GraphQL Server is now running on http://localhost:8080

App is now running on http://localhost:3000
Hash: 9a56cc72acac2de6f40c
Version: webpack 1.12.13
Time: 1349ms

ERROR in ./js/app.js
Module build failed: Error: Plugin 0 specified in "D:\\appli\\node\\relay-starter-kit\\node_modules\\babel-preset-react\\index.js" provi
ded an invalid property of "_c"
    at Plugin.init (D:\appli\node\relay-starter-kit\node_modules\babel-core\lib\transformation\plugin.js:127:13)
    at Function.normalisePlugin (D:\appli\node\relay-starter-kit\node_modules\babel-core\lib\transformation\file\options\option-manager.
js:176:12)
    at D:\appli\node\relay-starter-kit\node_modules\babel-core\lib\transformation\file\options\option-manager.js:210:30
    at Array.map (native)
    at Function.normalisePlugins (D:\appli\node\relay-starter-kit\node_modules\babel-core\lib\transformation\file\options\option-manager
.js:182:20)
    at OptionManager.mergeOptions (D:\appli\node\relay-starter-kit\node_modules\babel-core\lib\transformation\file\options\option-manage
r.js:298:36)
    at D:\appli\node\relay-starter-kit\node_modules\babel-core\lib\transformation\file\options\option-manager.js:318:17
    at D:\appli\node\relay-starter-kit\node_modules\babel-core\lib\transformation\file\options\option-manager.js:390:24
    at Array.map (native)
    at OptionManager.resolvePresets (D:\appli\node\relay-starter-kit\node_modules\babel-core\lib\transformation\file\options\option-mana
ger.js:385:20)
webpack: bundle is now VALID.
@kassens
Copy link
Contributor

kassens commented Feb 17, 2016

Can you make sure you're running npm 2 and node 4? (npm 3 is not supported at the moment, tracked in facebook/relay#832)

node --version
npm --version

@yo34
Copy link
Author

yo34 commented Feb 18, 2016

Exact I was using node 5.x and npm 3.
It work's with node 4.
Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants