
如何使用NPM安装WebSocket模块
展开全部
node js的版本问题,当时开发的版本比较早,现在安装websocket-server,没有中间的-,使用npm install websocketserver就好了。
参考文献:
The game server currently runs on nodejs v0.4.7 (but should run fine on the latest stable as well) and requires the latest versions of the following npm libraries:
- underscore
- log
- bison
- websocket
- websocket-server
- sanitizer
- memcache (only if you want metrics)
参考文献:
The game server currently runs on nodejs v0.4.7 (but should run fine on the latest stable as well) and requires the latest versions of the following npm libraries:
- underscore
- log
- bison
- websocket
- websocket-server
- sanitizer
- memcache (only if you want metrics)
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询