当前位置:网站首页>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
可能会报非常多的错误,并且解决不了!
边栏推荐
- 28:第三章:开发通行证服务:11:在配置文件中定义属性,然后在代码中去获取;
- Page generation QR code
- 八大排序
- Common plug-ins for vite project development
- Redis: operation command of string type data
- UiO-66-COOH装载苯达莫司汀|羟基磷灰石( HA) 包裹MIL-53(Fe)纳米粒子|装载黄芩苷锰基金属有机骨架材料
- Back to top implementation
- JVM family - overview, program counter day1-1
- Redis:字符串類型數據的操作命令
- JS general form submission 1-onsubmit
猜你喜欢
Failure of vector insertion element iterator in STL
Metal organic framework (MOFs) antitumor drug carrier | pcn-223 loaded with metronidazole | uio-66 loaded with ciprofloxacin hydrochloride(
Uio-66-cooh loaded bendamostine | hydroxyapatite (HA) coated MIL-53 (FE) nanoparticles | baicalin loaded manganese based metal organic skeleton material
7-8 overspeed judgment
泰凌冲刺科创板:拟募资13亿 国家大基金与小米长江是股东
好看、好用、强大的手写笔记软件综合评测:Notability、GoodNotes、MarginNote、随手写、Notes Writers、CollaNote、CollaNote、Prodrafts、Noteshelf、FlowUs、OneNote、苹果备忘录
Programmable logic device software testing
7-7 12-24 hour system
JVM class loading
Solution to failure or slow downloading of electron when electron uses electron builder to package
随机推荐
Spring cup eight school league
Invalid Z-index problem
js 2023. String pair equal to the target string after connection
JS Part 2
selenium 浏览器(1)
Exercise 6-1 classify and count the number of characters
Metal organic framework material zif-8 containing curcumin( [email protected] Nanoparticles) | nano metal organic framework carry
Common plug-ins for vite project development
7-10 calculate salary
QT learning 22 layout manager (I)
MySQL data processing value addition, deletion and modification
7-9 find a small ball with a balance
Redis: operation command of string type data
叶酸修饰的金属-有机骨架(ZIF-8)载黄芩苷|金属有机骨架复合磁性材料([email protected])|制备路线
Duet date picker (time plug-in that can manually enter the date)
牛客网:过河卒
JS input number and standard digit number are compared. The problem of adding 0 to 0
Formation of mil-100 (FE) coated small molecule aspirin [email protected] (FE) | glycyrrhetinic acid modified metal organ
6-9 statistics of single digits (15 points)
JS get DPI, PX to cm, cm to PX