lite-sever 安装

cmd:npm install lite-sever --save-dev


npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/lite-sever - Not found
npm ERR! 404 
npm ERR! 404  'lite-sever@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/masterbaron/.npm/_logs/2020-05-07T03_01_02_374Z-debug.log

请问这个该怎么解决?
请先 登录 后评论

最佳答案 2020-05-07 15:39

不是 npm install lite-sever

而是 npm install lite-server

请先 登录 后评论

其它 1 个回答

王林
请先 登录 后评论
  • 2 关注
  • 0 收藏,2645 浏览
  • 王林 提出于 2020-05-07 11:18