S
S
Savely Pototsky2015-04-24 13:33:36
HTML
Savely Pototsky, 2015-04-24 13:33:36

BrowserQuest How to solve the problem?

Hello!
The other day I installed Ubuntu 14.04 LTS on my computer
And tried to install BrowserQuest I set
everything up, but when I write I get a npm install websocket-serverlot of errors

npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm http GET http://registry.npmjs.org/websocket-server
npm http 404 http://registry.npmjs.org/websocket-server
npm ERR! TypeError: Cannot read property 'latest' of undefined
npm ERR!     at next (/usr/share/npm/lib/cache.js:687:35)
npm ERR!     at /usr/share/npm/lib/cache.js:675:5
npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR!     at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR!     at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>

npm ERR! System Linux 3.16.0-30-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "websocket-server"
npm ERR! cwd /home/sava/notroot/server2
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! type non_object_property_load
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/sava/notroot/server2/npm-debug.log
npm ERR! not ok code 0

Any ideas?
Folders:
bin
client
client-bild
node_modules
server
shared
tools

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
algebris, 2015-04-25
@savaekb

this module is currently removed from the npmjs repository, it is recommended to use socket.io containing ws instead

S
sh84, 2015-04-24
@sh84

Would suggest updating node and npm.

S
Savely Pototsky, 2015-04-25
@savaekb

Don't know how websocket-serverto replace a package with another package?
But to keep the functionality

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question