Repository navigation
Closed
Description
Hi guys!
I failed the installation.
We have followed the codecombat guide, but can not proceed with the 'node-gyp rebuild' error.
-
Installation environment
Ubuntu 16.04, Node v5, v6 (using npm) -
Configuration of the environment
$ sudo apt-key adv -keyserver hkp: //keyserver.ubuntu.com: 80 --recv 7F0CEB10
$ echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" | sudo tee /etc/apt/sources.list.d/mongodb.list
$ sudo apt-get update
$ sudo apt-get install build-essential python2.7 git curl mongodb-org nodejs-legacy
$ git clone https://github.com/codecombat/codecombat.git
$ cd codecombat
$ npm install
......
├─┬ [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ └── UNMET PEER DEPENDENCY [email protected]
└─┬ [email protected]
└─┬ [email protected]
└── [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.1.2 (node_modules/webpack/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none was installed.
npm ERR! Linux 4.4.0-1052-aws
npm ERR! argv "/home/ubuntu/.nvm/versions/node/v6.14.1/bin/node" "/home/ubuntu/.nvm/versions/node/v6.14.1/bin/npm" "install"
npm ERR! node v6.14.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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 contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs contextify
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/codecombat/npm-debug.log
$ npm list node-gyp
codecombat@ /home/ubuntu/codecombat
└─┬ [email protected]
└── [email protected]
What should I do to solve this problem?
Metadata
Metadata
Assignees
Labels
No labels
Activity
eugene-haas commentedon Apr 23, 2018
Resolved and close this issue.
I have set up the python path.
codecombat $ npm config set python /usr/bin/python2.7