-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install error in babel-relay-plugin #723
Comments
This solve the problem. facebookarchive/relay-starter-kit#56 In short, update the old version of global babel-core and babel-cli. npm install -g babel-core npm install -g babel-cli |
Sorry, that link don't solve the problem. I think the problem are incompatibilty of react-relay@0.6.0 and babel-relay-plugin@0.6.2 versions. For apps in examples folder. Maybe incompatibility with Node@5.3.0 and NPM@3.5.2. To see the apps in examples folder, i add react-relay@0.6.0 and babel-relay-plugin@0.6.0 in each package.js files and install. That works. |
@andresalves There is no babel-relay-plugin@0.6.2 as far as I can see, only a babel-relay-plugin@0.6.1 - and that is actually kind of the same like 0.6.0 but react-relay wants exactly 0.6.0. |
Ok @BerndWessels, but in npm-debug.log.txt you can see: 184 silly resolveWithNewModule babel-relay-plugin@0.6.2 checking installable status Thanks! |
can you lockdown the npm package versions? npm install fails for /examples/todo.
|
I have a freshly-installed node
~/code/facebook/relay/examples/todo
% npm install
> babel-relay-plugin@0.7.0 prepublish /Users/naomik/code/facebook/relay/scripts/babel-relay-plugin
> npm run build
> babel-relay-plugin@0.7.0 build /Users/naomik/code/facebook/relay/scripts/babel-relay-plugin
> scripts/build-lib
module.js:341
throw err;
^
Error: Cannot find module 'glob'
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> (/Users/naomik/code/facebook/relay/scripts/babel-relay-plugin/scripts/build-lib:6:14)
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 Function.Module.runMain (module.js:447:10)
npm ERR! Darwin 15.2.0
npm ERR! argv "/usr/local/versions/node/5.6.0/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v5.6.0
npm ERR! npm v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! babel-relay-plugin@0.7.0 build: `scripts/build-lib`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the babel-relay-plugin@0.7.0 build script 'scripts/build-lib'.
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 babel-relay-plugin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! scripts/build-lib
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs babel-relay-plugin
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls babel-relay-plugin
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/naomik/code/facebook/relay/scripts/babel-relay-plugin/npm-debug.log
npm ERR! addLocal Could not install /Users/naomik/code/facebook/relay/scripts/babel-relay-plugin
> react-relay@0.7.0 prepublish /Users/naomik/code/facebook/relay
> node node_modules/fbjs-scripts/node/check-dev-engines.js package.json && npm run build
module.js:341
throw err;
^
Error: Cannot find module '/Users/naomik/code/facebook/relay/node_modules/fbjs-scripts/node/check-dev-engines.js'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:140:18)
at node.js:1001:3
npm ERR! addLocal Could not install /Users/naomik/code/facebook/relay
npm ERR! Darwin 15.2.0
npm ERR! argv "/usr/local/versions/node/5.6.0/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v5.6.0
npm ERR! npm v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! babel-relay-plugin@0.7.0 prepublish: `npm run build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the babel-relay-plugin@0.7.0 prepublish script 'npm run build'.
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 babel-relay-plugin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs babel-relay-plugin
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls babel-relay-plugin
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/naomik/code/facebook/relay/examples/todo/npm-debug.log |
You're correct, we're still missing support for node 5/npm 3. #832 tracks to get us updated. |
Please check the attached log.
Thanks.
npm-debug.log.txt
The text was updated successfully, but these errors were encountered: