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

Strange Error #12

Open
jacensherman opened this issue Jun 25, 2015 · 1 comment
Open

Strange Error #12

jacensherman opened this issue Jun 25, 2015 · 1 comment

Comments

@jacensherman
Copy link

Hi, I'm Jacen Sherman. I'm one of the MSPs working on the sphero pilot program. I have recently been having trouble simply adding sphero.js to my project.

I am simply running the command (on windows 8):
npm install --save sphero

About a week ago this worked fine for me. But now I am getting a very long error.

Sorry for the length but here is the whole stream...

npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm http GET https://registry.npmjs.org/spheron
npm http 304 https://registry.npmjs.org/spheron

[email protected] install C:\Users\Jacen\Google Drive\Work\Microsoft\Tap Of War
\Code\Tap Of War\node_modules\spheron\node_modules\serialport
node-gyp rebuild

C:\Users\Jacen\Google Drive\Work\Microsoft\Tap Of War\Code\Tap Of War\node_modul
es\spheron\node_modules\serialport>node "C:\Program Files\nodejs\node_modules\np
m\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack at errnoException (child_process.js:998:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:
34)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Jacen\Google Drive\Work\Microsoft\Tap Of War\Code\Tap Of W
ar\node_modules\spheron\node_modules\serialport
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the serialport 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 serialport
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "spheron"
npm ERR! cwd C:\Users\Jacen\Google Drive\Work\Microsoft\Tap Of War\Code\Tap Of W
ar
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Jacen\Google Drive\Work\Microsoft\Tap Of War\Code\Tap Of W
ar\npm-debug.log
npm ERR! not ok code 0

@axelpale
Copy link

I am experiencing similar problem

$ npm install --save spheron
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] homepage field must start with a protocol.
npm WARN install Refusing to install spheron as a dependency of itself

A hacky solution is to install by using the GitHub URL:

$ npm install --save alchemycs/spheron 

morganrallen added a commit to morganrallen/spheron that referenced this issue Sep 14, 2015
this should take care of compile related issues like alchemycs#12 as newer versions of serialport download the binary component as a `post_install` step.
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