当前位置:网站首页>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
可能会报非常多的错误,并且解决不了!
边栏推荐
- Webpage connection database ~ simple implementation of addition, deletion, modification and query complete code
- C language,%d% Difference between 2D%2d%02d
- 28: Chapter 3: develop Passport Service: 11: define attributes in the configuration file, and then obtain them in the code;
- Scroll detection, so that the content in the lower right corner is not displayed at the top of the page, but is displayed as the mouse slides
- protobuf与grpc
- Qt学习17 对话框及其类型
- js . Find the first palindrome string in the array
- JVM runtime data area
- Current situation, analysis and prediction of information and innovation industry
- QT learning 25 layout manager (4)
猜你喜欢
Polestar美股上市:5.5万台交付如何支持得起超200亿美元估值
Vite project commissioning
Metal organic framework MOFs loaded with non steroidal anti-inflammatory drugs | zif-8 wrapped Prussian blue loaded quercetin (preparation method)
jvm-运行时数据区
QT learning 22 layout manager (I)
3D vision - 2 Introduction to pose estimation - openpose includes installation, compilation and use (single frame, real-time video)
[Jilin University] information sharing of postgraduate entrance examination and re examination
7-10 calculate salary
金属有机骨架MOFs装载非甾体类抗炎药物|ZIF-8包裹普鲁士蓝负载槲皮素(制备方法)
[email protected]纳米粒子"/>
金属有机骨架MIL-88负载阿霉素DOX|叶酸修饰UiO-66-NH2负载阿霉素[email protected]纳米粒子
随机推荐
QT learning 20 standard dialog box in QT (middle)
泰凌冲刺科创板:拟募资13亿 国家大基金与小米长江是股东
JS input number and standard digit number are compared. The problem of adding 0 to 0
Nucleic acid modified metal organic framework drug carrier | pcn-223 metal organic framework encapsulated ad adamantane | zif-8 encapsulated adriamycin (DOX)
simpleParallax. JS (create poor visual effects for website pictures)
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
Redis: redis data structure and key operation commands
中感微冲刺科创板:年营收2.4亿净亏1782万 拟募资6亿
常见问题之PHP——ldap_add(): Add: Undefined attribute type in
QT learning 19 standard dialog box in QT (top)
Leetcode (4) -- find the median of two positively ordered arrays
[ACNOI2022]猜数
Raft 协议
Similarities and differences of sessionstorage, localstorage and cookies
JS matrix zero
JS general form submission 1-onsubmit
Collection of mobile adaptation related articles
关于回溯问题中的排列问题的思考(LeetCode46题与47题)
[combinatorics] permutation and combination (two counting principles, examples of set permutation | examples of set permutation and circle permutation)
Solution to failure or slow downloading of electron when electron uses electron builder to package