Skip to content
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

can't build when I clone down. #15

Open
Sophrinix opened this issue Jun 16, 2015 · 3 comments
Open

can't build when I clone down. #15

Sophrinix opened this issue Jun 16, 2015 · 3 comments

Comments

@Sophrinix
Copy link

➜ Desktop node -v
v0.10.13
➜ Desktop git clone --recursive [email protected]:appcelerator/ioslib.git
Cloning into 'ioslib'...
remote: Counting objects: 594, done.
remote: Total 594 (delta 0), reused 0 (delta 0), pack-reused 594
Receiving objects: 100% (594/594), 304.83 KiB | 0 bytes/s, done.
Resolving deltas: 100% (350/350), done.
Checking connectivity... done.
➜ Desktop cd ioslib
➜ ioslib git:(master) sudo npm install
npm WARN package.json [email protected] license should be a valid SPDX license expression

[email protected] install /Users/andrewmcelroy/Desktop/ioslib/node_modules/node-ios-device
node-gyp rebuild

gyp: binding.gyp not found (cwd: /Users/andrewmcelroy/Desktop/ioslib/node_modules/node-ios-device) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:355:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/andrewmcelroy/Desktop/ioslib/node_modules/node-ios-device
gyp ERR! node -v v0.10.13
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.10.13
npm ERR! npm v2.11.2
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! This is most likely a problem with the node-ios-device 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 their info via:
npm ERR! npm owner ls node-ios-device
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/andrewmcelroy/Desktop/ioslib/npm-debug.log
➜ ioslib git:(master) node-gyp rebuild
zsh: command not found: node-gyp

@Sophrinix
Copy link
Author

Then I realized I didn't have node-gyp installed. After I installed it I got this:

➜ ioslib git:(master) ✗ sudo npm install

npm WARN package.json [email protected] license should be a valid SPDX license expression

[email protected] install /Users/andrewmcelroy/Desktop/ioslib/node_modules/node-ios-device
node-gyp rebuild

gyp: binding.gyp not found (cwd: /Users/andrewmcelroy/Desktop/ioslib/node_modules/node-ios-device) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:355:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/andrewmcelroy/Desktop/ioslib/node_modules/node-ios-device
gyp ERR! node -v v0.10.13
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.10.13
npm ERR! npm v2.11.2
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! This is most likely a problem with the node-ios-device 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 their info via:
npm ERR! npm owner ls node-ios-device
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/andrewmcelroy/Desktop/ioslib/npm-debug.log

@Sophrinix
Copy link
Author

pull request coming. The out of date dependencies make this uninstallable. This impacts the tio2 project which I am trying to document.

@cb1kenobi
Copy link
Contributor

@Sophrinix This should be fixed by #14 once it's merged.

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

No branches or pull requests

2 participants