当前位置:网站首页>After the node is installed in the NVM, the display is not internal or external when the NPM instruction is used
After the node is installed in the NVM, the display is not internal or external when the NPM instruction is used
2022-06-30 11:54:00 【July stars】
Problem replay
I reinstalled the computer system some time ago , Download again nvm To manage node edition , Maybe I didn't pay attention when downloading , Use today npm When you're in trouble npm Not internal or external instructions .
Think about Baidu , It's about environmental variables , I install nvm It was changed when D disc , I checked to see that it was automatically configured during installation , I haven't changed environment variables manually .
Input... At the terminal node -v enter , Alas, the magic thing is that it can show node Version number 
Input npm -v It shows that it is not an internal or external command .
Then I uninstalled my original node edition , When I start again , Ah , I caught the culprit , Look at the picture below .
node The version is downloaded , Shows complete, But obviously download npm It's a mistake , I thought for the first time that I didn't give nvm The reason for setting the image address .
Solution
Run as administrator cmd, stay cmd Enter the following commands respectively in the window :
nvm node_mirror https://npm.taobao.org/mirrors/node/
nvm npm_mirror https://npm.taobao.org/mirrors/npm/
Then you use it again nvm install node That's all right. . There is no error message .
You can check node Version and npm edition :
All right. , Finally, some of the content of the article comes from This article .
I hope it will help you .
边栏推荐
- How can c write an SQL parser
- 据说用了这个,老板连夜把测试开了
- 60 个神级 VS Code 插件!!
- Set up your own website (13)
- How to 'gracefully' avoid MySQL login prompt information in scripts
- wallys/IPQ8074a/2x(4×4 or 8×8) 11AX MU-MIMO DUAL CONCURRENT EMBEDDEDBOARD
- Using cookie technology to realize historical browsing records and control the number of displays
- R language ggplot2 visualization: use ggplot2 visualization scatter diagram and the color parameter in AES function to specify that data points in different groups are displayed in different colors
- 优惠券种类那么多,先区分清楚再薅羊毛!
- Redis - SDS simple dynamic string
猜你喜欢

1175. 质数排列

论文解读(AGC)《Attributed Graph Clustering via Adaptive Graph Convolution》

优惠券种类那么多,先区分清楚再薅羊毛!

What is erdma as illustrated by Coptic cartoon?

Object mapping - mapping Mapster

爱可可AI前沿推介(6.30)

The operation and maintenance security gateway (Fortress machine) of Qiming star group once again won the first place!

led背光板的作用是什么呢?

CVPR 2022 | greatly reduce the manual annotation required for zero sample learning. Mapu and Beiyou proposed category semantic embedding rich in visual information

The first batch in China! Alibaba cloud native data Lake products have passed the evaluation and certification of the ICT Institute
随机推荐
这些电影中的科幻构想,已经用AI实现了
R language ggplot2 visualization: use ggplot2 visualization scatter diagram and the color parameter in AES function to specify that data points in different groups are displayed in different colors
Lucene full text search toolkit learning notes summary
一个悄然崛起的国产软件,低调又强大!
深入解析 Apache BookKeeper 系列:第四篇—背压
Quel est le rôle du rétroéclairage LED?
Let's talk about how to do hardware compatibility testing and quickly migrate to openeuler?
nvm安装node后,在使用npm指令时候显示不是内部或外部指令
AutoCAD - len command
The operation and maintenance security gateway (Fortress machine) of Qiming star group once again won the first place!
Alibaba cloud lifeifei: China's cloud database has taken the lead in many mainstream technological innovations abroad
led背光板的作用是什麼呢?
A quietly rising domestic software, low-key and powerful!
R语言ggplot2可视化:使用ggplot2可视化散点图、使用scale_color_viridis_d函数指定数据点的配色方案
How to 'gracefully' avoid MySQL login prompt information in scripts
A theoretical defect of relative position coding transformer and Its Countermeasures
R language ggplot2 visualization: use ggplot2 to visualize the scatter diagram and use scale_ color_ viridis_ D function specifies the color scheme of data points
[revisiting the classic C language] ~x,%c,%d,%x, etc. in C language, the role of the address character in C language, and the consortium in C language
Installing onnx is very slow. Use Tsinghua image
Qt嵌入子Qt程序窗口到当前程序