安装nodejs中的一个npm包出现党问题!!

红鲤鱼遇绿鲤鱼 2014-11-30 06:23:58
我在网上下载了一个开源的html的游戏,名字叫BrowserQuest。里面需要安装nodejs和对应的npm包。其中有个包叫websocket-server,我在linux上和windows上的终端下载,始终提示我无法下载,linux上提示是404。别人都是怎么安装的? 我在网上搜索有关这个包几乎都没有人提过,难道没有不成?我翻墙去找,也没有对应的提示。如果不用websocket-server如何安装呢? 请各位大牛不吝赐教~~ 我是照着这个教程安装的 http://www.silverlightchina.net/html/HTML_5/study/2012/1206/20676.html
...全文
319 8 打赏 收藏 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
好吧 我放弃了~~~
  • 打赏
  • 举报
回复
引用 3 楼 Free_Wind22 的回复:
应该有个配置文件package.json
我你去试试,要是能装上我分都给你...
囧 2014-12-01
  • 打赏
  • 举报
回复
应该有个配置文件package.json
囧 2014-12-01
  • 打赏
  • 举报
回复
他建议用ws模块代替,估计要改代码,2个包的API应该不一样。
  • 打赏
  • 举报
回复
引用 5 楼 Free_Wind22 的回复:
https://github.com/StreamMachine/StreamMachine/issues/27
引用
That would be my fault. I unpublished websocket-server the other week as it's not suitable for production use any more. It had been marked as deprecated for the last 6 months on NPM, and deprecated on Github for 3 years. The suggested replacement for it is the ws module.
作者取消了这个包。
啊??? 那咋办啊?有没有代替的方法啊?
囧 2014-12-01
  • 打赏
  • 举报
回复
https://github.com/StreamMachine/StreamMachine/issues/27
引用
That would be my fault. I unpublished websocket-server the other week as it's not suitable for production use any more. It had been marked as deprecated for the last 6 months on NPM, and deprecated on Github for 3 years. The suggested replacement for it is the ws module.
作者取消了这个包。
  • 打赏
  • 举报
回复
引用 1 楼 zhoukang0916 的回复:
去国内的淘宝上去找一下 http://npm.taobao.org/
没搜到啊! 我搜websocket-server 下面的提示出来的东西并不是我想要的。。。 那个包的名字叫websocket-server 我在linux上敲的命令是npm install websocket-server,难到那些包和我要的是一个东西?
PandaIT 2014-11-30
  • 打赏
  • 举报
回复
去国内的淘宝上去找一下 http://npm.taobao.org/

87,984

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧