![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
node
swpu_lwf
前端爱好者
展开
-
node环境:Error listen EADDRINUSE :::3000
错误: 错误原因:其实是3000端口被其他应用程序占用了,只要找到占用该端口的应用程序,杀死它,就好了。netstat -o -n -a | findstr :3000taskkill /F /PID 115148注:15148换成你的占用3000端口的程序PID 参考:https://teamtreehouse.com/community/why-is-there...原创 2018-05-04 19:51:58 · 8497 阅读 · 2 评论 -
一次性卸载package.json中的所有依赖
npm uninstall `ls -1 node_modules | tr '/\n' ' '`更多内容请参考:https://github.com/npm/npm/issues/10187原创 2018-05-08 19:06:57 · 5107 阅读 · 0 评论