当前位置:网站首页>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可能会报非常多的错误,并且解决不了!
边栏推荐
- 关于回溯问题中的排列问题的思考(LeetCode46题与47题)
- Global event bus
- 28: Chapter 3: develop Passport Service: 11: define attributes in the configuration file, and then obtain them in the code;
- 7-10 calculate salary
- JS new challenges
- 愉悦资本新双币基金近40亿元完成首次关账
- Generate directories from web content
- Exercise 10-2 recursive factorial sum
- 玖逸云黑免费无加密版本源码
- Onmenusharetimeline custom shared content is invalid, and the title and icon are not displayed
猜你喜欢

QT learning 22 layout manager (I)

Exercise 7-6 count capital consonants

Implementation of Muduo asynchronous logging

28:第三章:开发通行证服务:11:在配置文件中定义属性,然后在代码中去获取;

Message subscription and publishing

Exercise 10-3 recursive implementation of exponential functions

Use vscode to view hex or UTF-8 codes

Exercise 10-6 recursively find Fabonacci sequence

【吉林大学】考研初试复试资料分享

jvm-对象生命周期
随机推荐
Uniapp tips - scrolling components
Toast UI editor (editor allows you to edit your markup document using text or WYSIWYG, with syntax highlighting, scrolling synchronization, real-time preview and chart functions.)
Fabric. JS document
Failure of vector insertion element iterator in STL
Duet date picker (time plug-in that can manually enter the date)
QT learning 22 layout manager (I)
RocksDB LRUCache
Exercise 6-6 use a function to output an integer in reverse order
Generate directories from web content
How to delete an attribute or method of an object
How to promote the progress of project collaboration | community essay solicitation
Use vscode to view hex or UTF-8 codes
Analysis of the characteristics of page owner
Installation impression notes
jvm-运行时数据区
7-7 12-24 hour system
Solution to failure or slow downloading of electron when electron uses electron builder to package
Qt学习21 Qt 中的标准对话框(下)
concat和concat_ws()区别及group_concat()和repeat()函数的使用
TS code automatically generates JS