当前位置:网站首页>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 .
边栏推荐
- 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
- Summer vacation study record
- 用于生成学习任务的量子神经网络2022最新综述
- Evaluation of IP location query interface Ⅲ
- 1175. 质数排列 : 乘法原理运用题
- Database cascading operation
- 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
- R language ggplot2 visualization: use ggplot2 to visualize the scatter diagram and use scale_ x_ The log10 function configures the value range of the X axis to be logarithmic coordinates
- There are so many kinds of coupons. First distinguish them clearly and then collect the wool!
- R language ggplot2 visual Facet: gganimate package is based on Transition_ The time function creates a dynamic scatter graph animation (GIF) and uses the labs function to add a dynamic time title to t
猜你喜欢

wallys/600VX – 2×2 MIMO 802.11ac Mini PCIe Wi-Fi Module, Dual Band, 2,4GHz / 5GHz QCA 9880

来聊聊怎么做硬件兼容性检测,快速迁移到openEuler?

Who still remembers "classmate Zhang"?

AUTOCAD——LEN命令

爱可可AI前沿推介(6.30)

21、wpf之绑定使用小记

Quel est le rôle du rétroéclairage LED?

zabbix监控TCP连接个数

Is the golden cycle of domestic databases coming?

Set up your own website (13)
随机推荐
VScode选中多个单词
Typescript readonlyarray (read only array type) details
A quietly rising domestic software, low-key and powerful!
对象映射 - Mapping.Mapster
nvm安装node后,在使用npm指令时候显示不是内部或外部指令
CVPR 2022 | greatly reduce the manual annotation required for zero sample learning. Mapu and Beiyou proposed category semantic embedding rich in visual information
HMS Core音频编辑服务3D音频技术,助力打造沉浸式听觉盛宴
重新理解oauth2.0协议进行联合登录
EMC surge
构造函数、类成员、析构函数调用顺序
关于IP定位查询接口的测评Ⅲ
MySQL 表的内连和外连
If it is not listed again, Kuangshi technology will not be able to endure
koa - 洋葱模型浅析
It is said that with this, the boss opened the test overnight
“\“id\“ contains an invalid value“
Dameng data rushes to the scientific innovation board, or becomes the "first share of domestic database" in the A-share market
Is the golden cycle of domestic databases coming?
TypeScript ReadonlyArray(只读数组类型) 详细介绍
[pattern recognition]