chatofpomelo-websocket icon indicating copy to clipboard operation
chatofpomelo-websocket copied to clipboard

按照教程,启动webserver时报错

Open xiaobaDev opened this issue 11 years ago • 2 comments

pomelo:0.82,websocket最新 以下是错误内容: Error: Cannot find module 'bytes' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (H:\PomeloWorkSpace\ChatDemo\chatofpomelo-websocket\we b-server\node_modules\express\node_modules\connect\lib\utils.js:384:22) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17)

xiaobaDev avatar Jan 15 '14 05:01 xiaobaDev

参考

py8765 avatar Jan 16 '14 01:01 py8765

这个问题我也遇到了,我的解决方案是不要用包里提供的npm-install.bat来安装module,手动安装这几个包

yuzima avatar Apr 28 '14 07:04 yuzima