当前位置:网站首页>npm install卡住与node-npy的各种奇怪报错
npm install卡住与node-npy的各种奇怪报错
2022-07-03 13:43:00 【chenweifu365】
最近启动一个前端项目,看了一下操作文档。
- npm install
- npm run serve
一看,简单~ 然后去操作
结果npm install各种报错,报的我人都傻了。
有时候不报错,什么东西什么GET拿资源卡住,要不然就在那一直timing什么的,卡个几小时不动弹,总之一直install不成功。
先说一下最终的解决方案:
- 安装node最新的LTS版本(Long Term Support 长期稳定版)
- 安装选项有个安装依赖的选项,记得勾上
一、安装node最新的TLS版本
node官网:https://nodejs.org/en/

二、勾选安装依赖项

这个勾一定要勾选,否则之后的
npm install可能会报非常多的错误,并且解决不了!
边栏推荐
- Formation of mil-100 (FE) coated small molecule aspirin [email protected] (FE) | glycyrrhetinic acid modified metal organ
- Article content typesetting and code highlighting
- allegro,orcad, net alias,port,off-page connector之间的异同点和如何选取
- FPGA测试方法以Mentor工具为例
- Failure of vector insertion element iterator in STL
- 消息订阅与发布
- Multi person collaborative data annotation based on Baidu brain easydata from scratch
- Function calling convention
- JVM runtime data area
- Rasp implementation of PHP
猜你喜欢
随机推荐
交联环糊精金属有机骨架负载甲氨蝶呤缓释微粒|金属-有机多孔材料UiO-66负载黄酮苷类药物|齐岳
中感微冲刺科创板:年营收2.4亿净亏1782万 拟募资6亿
Analysis of the characteristics of page owner
Canvas utility library fabric JS user manual
[Jilin University] information sharing of postgraduate entrance examination and re examination
Folic acid modified metal organic framework (zif-8) baicalin loaded metal organic framework composite magnetic material (AU- [email
[combinatorics] permutation and combination (two counting principles, examples of set permutation | examples of set permutation and circle permutation)
The small project (servlet+jsp+mysql+el+jstl) completes a servlet with login function, with the operation of adding, deleting, modifying and querying. Realize login authentication, prevent illegal log
Failure of vector insertion element iterator in STL
Scroll detection of the navigation bar enables the navigation bar to slide and fix with no content
叶酸修饰的金属-有机骨架(ZIF-8)载黄芩苷|金属有机骨架复合磁性材料([email protected])|制备路线
Cross linked cyclodextrin metal organic framework loaded methotrexate slow-release particles | metal organic porous material uio-66 loaded with flavonoid glycosides | Qiyue
愉悦资本新双币基金近40亿元完成首次关账
小项目(servelt+jsp+mysql+EL+JSTL)完成一个登录功能的Servlet,具有增删改查的操作。实现登录身份验证,防止非法登录,防止多点登录,记住用户名密码功能。
Common plug-ins for vite project development
Leetcode(4)——寻找两个正序数组的中位数
Global event bus
GRPC的四种数据流以及案例
Fabric. JS document
C language,%d% Difference between 2D%2d%02d









