Browserquest 2 map

broken image

WorlizeRequest = require('websocket').request, MiksagoConnection = require('node-websocket-server/lib/ws/connection'), Wsserver = require('node-websocket-server'), I also tried updating the server/js/ws.js file directly as follows (added node- to the websocket-server fields): var cls = require('./lib/class'), One prior SO post I saw said to replace websocket-server with node-websocket-server in the package.json file, however there are existing direct calls to websocket-server in the BrowserQuest codebase.

I have added the ws and node-websocket-server packages, however neither of them seem to be an easy replacement for the existing calls to websocket-server. It depends on the websocket-server node package, and unfortunately that has been deprecated and removed from the npm library.

broken image

I am trying to get Mozilla's BrowserQuest up and running and have run into a problem.

broken image