max-mapper / voxel-server

multiplayer server for voxel-engine
74 stars 25 forks source link

Error during make step - Cannot find module: "websocket-stream" #12

Closed gabehollombe closed 11 years ago

gabehollombe commented 11 years ago
$ make
browserify client.js > www/browserify-bundle.js

/usr/local/share/npm/lib/node_modules/browserify/lib/wrap.js:459
            throw moduleError('Cannot find module');
                  ^
Error: Cannot find module: "websocket-stream" from directory "/private/tmp/voxel-server" while processing file /private/tmp/voxel-server/client.js
    at moduleError (/usr/local/share/npm/lib/node_modules/browserify/lib/wrap.js:420:16)
    at Function.Wrap.require (/usr/local/share/npm/lib/node_modules/browserify/lib/wrap.js:459:19)
    at Function.module.exports.Object.keys.forEach.self.(anonymous function) [as require] (/usr/local/share/npm/lib/node_modules/browserify/index.js:158:28)
    at Wrap.addEntry (/usr/local/share/npm/lib/node_modules/browserify/lib/wrap.js:238:14)
    at Array.forEach (native)
    at Function.Wrap.addEntry (/usr/local/share/npm/lib/node_modules/browserify/lib/wrap.js:230:22)
    at Function.module.exports.Object.keys.forEach.self.(anonymous function) [as addEntry] (/usr/local/share/npm/lib/node_modules/browserify/index.js:158:28)
    at /usr/local/share/npm/lib/node_modules/browserify/bin/cmd.js:140:12
    at Array.forEach (native)
    at Object.<anonymous> (/usr/local/share/npm/lib/node_modules/browserify/bin/cmd.js:139:35)
make: *** [all] Error 1
gabehollombe commented 11 years ago

Looks like this is due to changes involving possibly switching over to voxel-multiplayer. But client.js still references a few modules no longer included in package.json (websocket-stream, duplex-emitter, etc)

max-mapper commented 11 years ago

sorry, fixed it for now