Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Troube Installing AirSonos on Windows 8 PC #78

Closed
teamplayon opened this issue Nov 30, 2014 · 3 comments
Closed

Troube Installing AirSonos on Windows 8 PC #78

teamplayon opened this issue Nov 30, 2014 · 3 comments

Comments

@teamplayon
Copy link

When I run npm install airsonos -g, I get the following error(s), which indicated to contact the author of the package. Any idea what is happening?

c:\Program Files (x86)\nodejs>npm install airsonos -g

npm WARN deprecated static-favicon@1.0.2: use serve-favicon module

mdns@2.2.0 install C:\Users\Jeff\AppData\Roaming\npm\node_modules\airsonos\node_modules\nodetunes\node_modules\mdns
node-gyp rebuild

C:\Users\Jeff\Desktop>node "c:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)
gyp ERR! stack at c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11
gyp ERR! stack at Object.oncomplete (evalmachine.:107:15)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Jeff\Desktop
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1

gyp ERR! not ok

lame@1.0.3 install C:\Users\Jeff\AppData\Roaming\npm\node_modules\airsonos\node_modules\nicercast\node_modules\lame
node-gyp rebuild

C:\Users\Jeff\Desktop>node "c:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)
gyp ERR! stack at c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11
gyp ERR! stack at Object.oncomplete (evalmachine.:107:15)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Jeff\Desktop
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

lame@1.1.1 install C:\Users\Jeff\AppData\Roaming\npm\node_modules\airsonos\node_modules\lame
node-gyp rebuild

C:\Users\Jeff\Desktop>node "c:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)
gyp ERR! stack at c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11
gyp ERR! stack at Object.oncomplete (evalmachine.:107:15)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Jeff\Desktop
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

npm ERR! mdns@2.2.0 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mdns@2.2.0 install script.
npm ERR! This is most likely a problem with the mdns 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 mdns
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "c:\Program Files (x86)\nodejs\node.exe" "c:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "airsonos" "-g"
npm ERR! cwd c:\Program Files (x86)\nodejs
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

c:\Program Files (x86)\nodejs>

@teamplayon
Copy link
Author

I solved the initial error by installing Python and adding a PYTHON environment variable in Windows.

However, now I get the following "spawn ENOENT" error. Any ideas?

C:\Users\Jeff\Desktop>node "c:\Program Files (x86)\nodejs\node_modules\npm\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:1001:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:792:34)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Jeff\Desktop
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1

gyp ERR! not ok

lame@1.1.1 install C:\Users\Jeff\AppData\Roaming\npm\node_modules\airsonos\node_modules\lame
node-gyp rebuild

C:\Users\Jeff\Desktop>node "c:\Program Files (x86)\nodejs\node_modules\npm\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:1001:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:792:34)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Jeff\Desktop
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

lame@1.0.3 install C:\Users\Jeff\AppData\Roaming\npm\node_modules\airsonos\node_modules\nicercast\node_modules\lame
node-gyp rebuild

C:\Users\Jeff\Desktop>node "c:\Program Files (x86)\nodejs\node_modules\npm\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:1001:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:792:34)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "c:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Jeff\Desktop
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

npm ERR! mdns@2.2.0 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mdns@2.2.0 install script.
npm ERR! This is most likely a problem with the mdns 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 mdns
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "c:\Program Files (x86)\nodejs\node.exe" "c:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "airsonos"
npm ERR! cwd c:\Program Files (x86)\nodejs
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

@stephen
Copy link
Owner

stephen commented Dec 1, 2014

Try using #59

@teamplayon
Copy link
Author

Thank you. That works great. Much thanks. Very impressive app you put together...

From: Stephen Wan [mailto:notifications@github.com]
Sent: Sunday, November 30, 2014 9:59 PM
To: stephen/airsonos
Cc: playonjeff
Subject: Re: [airsonos] Troube Installing AirSonos on Windows 8 PC (#78)

Try using #59 #59

Reply to this email directly or view it on GitHub #78 (comment) .

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

No branches or pull requests

2 participants