一、node安装

如果出现2053、2052错误,用管理员权限运行cmd,再cmd下转到node安装目录,执行msiexec /package nodexxx.msi

二、安装ws

如果网络问题,无法安装,可用淘宝镜像安装,先到网站目录下,执行本地安装 npm install ws --registry=http://registry.npm.taobao.org ,

如果用npm install ws -g --registry=http://registry.npm.taobao.org全局安装,会报Cannot find module 'ws' 错误,一时也不知道为什么,反正只要执行本地安装就ok了。

相关文章:

  • 2022-12-23
  • 2021-04-16
  • 2021-11-02
  • 2021-09-23
  • 2021-06-17
  • 2021-12-06
猜你喜欢
  • 2022-02-07
  • 2022-12-23
  • 2021-05-28
  • 2021-06-04
  • 2022-12-23
  • 2021-11-21
  • 2021-11-24
相关资源
相似解决方案