Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Community
Technology
Technology Q&A
[Fixed] Node.js install ws unknown error?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="FirefighterKyle" data-source="post: 352024" data-attributes="member: 22469"><p>So I am trying to make a private server for some friends and myself on Agar.io, I downloaded node.js and also python 3.5.0. I typed this command in my windows command prompt (cdm) "npm install ws" but end up with this error?</p><p></p><p>[CODE]C:\Documents and Settings\pcuser>npm install ws</p><p>\</p><p>> bufferutil@1.2.1 install C:\Documents and Settings\pcuser\node_modules\ws\node_m</p><p>odules\bufferutil</p><p>> node-gyp rebuild</p><p></p><p></p><p>C:\Documents and Settings\pcuser\node_modules\ws\node_modules\bufferutil>if not de</p><p>fined npm_config_node_gyp (node "E:\Agar\Ogar-master\src\nodejs\node_modules\npm</p><p>\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else</p><p>(node rebuild )</p><p>gyp ERR! UNCAUGHT EXCEPTION</p><p>gyp ERR! stack Error: spawn UNKNOWN</p><p>gyp ERR! stack at exports._errnoException (util.js:837:11)</p><p>gyp ERR! stack at ChildProcess.spawn (internal/child_process.js:298:11)</p><p>gyp ERR! stack at exports.spawn (child_process.js:339:9)</p><p>gyp ERR! stack at exports.execFile (child_process.js:141:15)</p><p>gyp ERR! stack at checkPythonVersion (E:\Agar\Ogar-master\src\nodejs\node_mo</p><p>dules\npm\node_modules\node-gyp\lib\configure.js:86:5)</p><p>gyp ERR! stack at E:\Agar\Ogar-master\src\nodejs\node_modules\npm\node_modul</p><p>es\node-gyp\lib\configure.js:53:9</p><p>gyp ERR! stack at E:\Agar\Ogar-master\src\nodejs\node_modules\npm\node_modul</p><p>es\which\which.js:82:18</p><p>gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)</p><p>gyp ERR! System Windows_NT 5.1.2600</p><p>gyp ERR! command "E:\\Agar\\Ogar-master\\src\\nodejs\\node.exe" "E:\\Agar\\Ogar-</p><p>master\\src\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js</p><p>" "rebuild"</p><p>gyp ERR! cwd C:\Documents and Settings\pcuser\node_modules\ws\node_modules\bufferu</p><p>til</p><p>gyp ERR! node -v v4.1.1</p><p>gyp ERR! node-gyp -v v3.0.3</p><p>gyp ERR! This is a bug in `node-gyp`.</p><p>gyp ERR! Try to update node-gyp and file an Issue if it does not help:</p><p>gyp ERR! <https://github.com/nodejs/node-gyp/issues></p><p></p><p>> utf-8-validate@1.2.1 install C:\Documents and Settings\pcuser\node_modules\ws\no</p><p>de_modules\utf-8-validate</p><p>> node-gyp rebuild</p><p></p><p></p><p>C:\Documents and Settings\pcuser\node_modules\ws\node_modules\utf-8-validate>if no</p><p>t defined npm_config_node_gyp (node "E:\Agar\Ogar-master\src\nodejs\node_modules</p><p>\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) e</p><p>lse (node rebuild )</p><p>gyp ERR! UNCAUGHT EXCEPTION</p><p>gyp ERR! stack Error: spawn UNKNOWN</p><p>gyp ERR! stack at exports._errnoException (util.js:837:11)</p><p>gyp ERR! stack at ChildProcess.spawn (internal/child_process.js:298:11)</p><p>gyp ERR! stack at exports.spawn (child_process.js:339:9)</p><p>gyp ERR! stack at exports.execFile (child_process.js:141:15)</p><p>gyp ERR! stack at checkPythonVersion (E:\Agar\Ogar-master\src\nodejs\node_mo</p><p>dules\npm\node_modules\node-gyp\lib\configure.js:86:5)</p><p>gyp ERR! stack at E:\Agar\Ogar-master\src\nodejs\node_modules\npm\node_modul</p><p>es\node-gyp\lib\configure.js:53:9</p><p>gyp ERR! stack at E:\Agar\Ogar-master\src\nodejs\node_modules\npm\node_modul</p><p>es\which\which.js:82:18</p><p>gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)</p><p>gyp ERR! System Windows_NT 5.1.2600</p><p>gyp ERR! command "E:\\Agar\\Ogar-master\\src\\nodejs\\node.exe" "E:\\Agar\\Ogar-</p><p>master\\src\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js</p><p>" "rebuild"</p><p>gyp ERR! cwd C:\Documents and Settings\pcuser\node_modules\ws\node_modules\utf-8-v</p><p>alidate</p><p>gyp ERR! node -v v4.1.1</p><p>gyp ERR! node-gyp -v v3.0.3</p><p>gyp ERR! This is a bug in `node-gyp`.</p><p>gyp ERR! Try to update node-gyp and file an Issue if it does not help:</p><p>gyp ERR! <https://github.com/nodejs/node-gyp/issues></p><p>npm WARN optional dep failed, continuing bufferutil@1.2.1</p><p>npm WARN optional dep failed, continuing utf-8-validate@1.2.1</p><p>ws@0.8.0 node_modules\ws</p><p>├── ultron@1.0.2</p><p>└── options@0.0.6</p><p></p><p>C:\Documents and Settings\pcuser>[/CODE]</p><p></p><p>Can anyone tell me what error I am getting because to me it doesn't make sense.</p></blockquote><p></p>
[QUOTE="FirefighterKyle, post: 352024, member: 22469"] So I am trying to make a private server for some friends and myself on Agar.io, I downloaded node.js and also python 3.5.0. I typed this command in my windows command prompt (cdm) "npm install ws" but end up with this error? [CODE]C:\Documents and Settings\pcuser>npm install ws \ > bufferutil@1.2.1 install C:\Documents and Settings\pcuser\node_modules\ws\node_m odules\bufferutil > node-gyp rebuild C:\Documents and Settings\pcuser\node_modules\ws\node_modules\bufferutil>if not de fined npm_config_node_gyp (node "E:\Agar\Ogar-master\src\nodejs\node_modules\npm \bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild ) gyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack Error: spawn UNKNOWN gyp ERR! stack at exports._errnoException (util.js:837:11) gyp ERR! stack at ChildProcess.spawn (internal/child_process.js:298:11) gyp ERR! stack at exports.spawn (child_process.js:339:9) gyp ERR! stack at exports.execFile (child_process.js:141:15) gyp ERR! stack at checkPythonVersion (E:\Agar\Ogar-master\src\nodejs\node_mo dules\npm\node_modules\node-gyp\lib\configure.js:86:5) gyp ERR! stack at E:\Agar\Ogar-master\src\nodejs\node_modules\npm\node_modul es\node-gyp\lib\configure.js:53:9 gyp ERR! stack at E:\Agar\Ogar-master\src\nodejs\node_modules\npm\node_modul es\which\which.js:82:18 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15) gyp ERR! System Windows_NT 5.1.2600 gyp ERR! command "E:\\Agar\\Ogar-master\\src\\nodejs\\node.exe" "E:\\Agar\\Ogar- master\\src\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js " "rebuild" gyp ERR! cwd C:\Documents and Settings\pcuser\node_modules\ws\node_modules\bufferu til gyp ERR! node -v v4.1.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! This is a bug in `node-gyp`. gyp ERR! Try to update node-gyp and file an Issue if it does not help: gyp ERR! <https://github.com/nodejs/node-gyp/issues> > utf-8-validate@1.2.1 install C:\Documents and Settings\pcuser\node_modules\ws\no de_modules\utf-8-validate > node-gyp rebuild C:\Documents and Settings\pcuser\node_modules\ws\node_modules\utf-8-validate>if no t defined npm_config_node_gyp (node "E:\Agar\Ogar-master\src\nodejs\node_modules \npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) e lse (node rebuild ) gyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack Error: spawn UNKNOWN gyp ERR! stack at exports._errnoException (util.js:837:11) gyp ERR! stack at ChildProcess.spawn (internal/child_process.js:298:11) gyp ERR! stack at exports.spawn (child_process.js:339:9) gyp ERR! stack at exports.execFile (child_process.js:141:15) gyp ERR! stack at checkPythonVersion (E:\Agar\Ogar-master\src\nodejs\node_mo dules\npm\node_modules\node-gyp\lib\configure.js:86:5) gyp ERR! stack at E:\Agar\Ogar-master\src\nodejs\node_modules\npm\node_modul es\node-gyp\lib\configure.js:53:9 gyp ERR! stack at E:\Agar\Ogar-master\src\nodejs\node_modules\npm\node_modul es\which\which.js:82:18 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15) gyp ERR! System Windows_NT 5.1.2600 gyp ERR! command "E:\\Agar\\Ogar-master\\src\\nodejs\\node.exe" "E:\\Agar\\Ogar- master\\src\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js " "rebuild" gyp ERR! cwd C:\Documents and Settings\pcuser\node_modules\ws\node_modules\utf-8-v alidate gyp ERR! node -v v4.1.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! This is a bug in `node-gyp`. gyp ERR! Try to update node-gyp and file an Issue if it does not help: gyp ERR! <https://github.com/nodejs/node-gyp/issues> npm WARN optional dep failed, continuing bufferutil@1.2.1 npm WARN optional dep failed, continuing utf-8-validate@1.2.1 ws@0.8.0 node_modules\ws ├── ultron@1.0.2 └── options@0.0.6 C:\Documents and Settings\pcuser>[/CODE] Can anyone tell me what error I am getting because to me it doesn't make sense. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Community
Technology
Technology Q&A
[Fixed] Node.js install ws unknown error?
Top