Skip to content

Instantly share code, notes, and snippets.

@leordev
Created November 15, 2017 18:57
Show Gist options
  • Save leordev/83dea8ea444cdd40fdbf0fc8dc913ec1 to your computer and use it in GitHub Desktop.
Save leordev/83dea8ea444cdd40fdbf0fc8dc913ec1 to your computer and use it in GitHub Desktop.
error building relay
git clone https://github.com/benjaminogles/relay.git benjamin-relay
cd benjamin-relay
cd packages
cd babel-plugin-relay
npm install
cd ..
cd react-relay
npm install
cd ..
cd relay-compiler
npm install
cd ..
cd relay-runtime
npm install
node -v
cd ..
ls
cd ..
ls
npm install
events.js:183
throw er; // Unhandled 'error' event
^
Error: /Users/leo/Workspace/Personal/wth/libs/benjamin-relay/packages/relay-compiler/node_modules/signal-exit/index.js: Cannot assign to a require(...) alias, EE. Line: 10.
at PluginPass.Identifier (/Users/leo/Workspace/Personal/wth/libs/benjamin-relay/node_modules/babel-preset-fbjs/plugins/inline-requires.js:119:17)
at newFn (/Users/leo/Workspace/Personal/wth/libs/benjamin-relay/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/Users/leo/Workspace/Personal/wth/libs/benjamin-relay/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/Users/leo/Workspace/Personal/wth/libs/benjamin-relay/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/Users/leo/Workspace/Personal/wth/libs/benjamin-relay/node_modules/babel-traverse/lib/path/context.js:105:12)
at TraversalContext.visitQueue (/Users/leo/Workspace/Personal/wth/libs/benjamin-relay/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/Users/leo/Workspace/Personal/wth/libs/benjamin-relay/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/Users/leo/Workspace/Personal/wth/libs/benjamin-relay/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/Users/leo/Workspace/Personal/wth/libs/benjamin-relay/node_modules/babel-traverse/lib/index.js:114:17)
at NodePath.visit (/Users/leo/Workspace/Personal/wth/libs/benjamin-relay/node_modules/babel-traverse/lib/path/context.js:115:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/leo/.npm/_logs/2017-11-15T18_52_40_479Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepublish: `node node_modules/fbjs-scripts/node/check-dev-engines.js package.json && npm run build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/leo/.npm/_logs/2017-11-15T18_52_40_568Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment