When I ran "npm start" and opened the listened address, I encountered a problem as below:
beefy (v2.1.8) is listening on http://127.0.0.1:9966
200 58ms 186B / (generated)
Error: Cannot find module 'media' from '~/Downloads/voxel-clientmc/app/node_modules/voxel-sfx/node_modules/play-audio'
at ~/Downloads/voxel-clientmc/app/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:46:17
at process (~/Downloads/voxel-clientmc/app/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:173:43)
at ondir (~/Downloads/voxel-clientmc/app/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:188:17)
at load (~/Downloads/voxel-clientmc/app/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:69:43)
at onex (~/Downloads/voxel-clientmc/app/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:92:31)
at ~/Downloads/voxel-clientmc/app/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:22:47
at FSReqWrap.oncomplete (fs.js:82:15)
But I do have media as module at the target directory. I don't know why it happened. Please help!
OS: Ubuntu 14.04
node: 4.4.7
npm: 2.15.8
g++: 5.4.1
gcc: 5.4.1
When I ran "npm start" and opened the listened address, I encountered a problem as below: beefy (v2.1.8) is listening on http://127.0.0.1:9966 200 58ms 186B / (generated) Error: Cannot find module 'media' from '~/Downloads/voxel-clientmc/app/node_modules/voxel-sfx/node_modules/play-audio' at ~/Downloads/voxel-clientmc/app/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:46:17 at process (~/Downloads/voxel-clientmc/app/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:173:43) at ondir (~/Downloads/voxel-clientmc/app/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:188:17) at load (~/Downloads/voxel-clientmc/app/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:69:43) at onex (~/Downloads/voxel-clientmc/app/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:92:31) at ~/Downloads/voxel-clientmc/app/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:22:47 at FSReqWrap.oncomplete (fs.js:82:15)
But I do have media as module at the target directory. I don't know why it happened. Please help! OS: Ubuntu 14.04 node: 4.4.7 npm: 2.15.8 g++: 5.4.1 gcc: 5.4.1