当前位置:网站首页>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 .
边栏推荐
- koa - 洋葱模型浅析
- Pointdistiller: structured knowledge distillation for efficient and compact 3D detection
- OpenMLDB Meetup No.4 会议纪要
- Boost study: boost log
- TypeScript ReadonlyArray(只读数组类型) 详细介绍
- Goto statement jump uninitialized variable: c2362
- STM32F407ZGT6使用SDIO方式驱动SD卡
- HMS Core音频编辑服务3D音频技术,助力打造沉浸式听觉盛宴
- 1175. 质数排列
- How to analyze native crash through GDB
猜你喜欢

“\“id\“ contains an invalid value“

Evaluation of IP location query interface Ⅲ

这些电影中的科幻构想,已经用AI实现了

关于IP定位查询接口的测评Ⅲ

If it is not listed again, Kuangshi technology will not be able to endure

NoSQL——Redis的配置与优化

Review the writing software with characteristics

用于生成学习任务的量子神经网络2022最新综述

"War" caused by a bottle of water

60 个神级 VS Code 插件!!
随机推荐
wallys/3×3 MIMO 802.11ac Mini PCIe Wi-Fi Module, QCA9880, 2,4GHz / 5GHzDesigned for Enterprise
Customize an annotation to get a link to the database
R语言ggplot2可视化:gganimate包基于transition_time函数创建动态散点图动画(gif)
缓存雪崩和缓存穿透解决方案
Summer vacation study record
R语言ggplot2可视化:gganimate包基于transition_time函数创建动态散点图动画(gif)、使用labs函数为动画图添加动态时间标题(抽取frame_time信息)
Object mapping - mapping Mapster
AutoCAD - len command
R语言ggplot2可视化分面图(facet):gganimate包基于transition_time函数创建动态散点图动画(gif)、使用labs函数为动画图添加动态时间标题
60 divine vs Code plug-ins!!
R language ggplot2 visualization: use ggplot2 to visualize the scatter diagram and use scale_ The size function configures the measurement adjustment range of the size of the data point
How to analyze native crash through GDB
Let's talk about how to do hardware compatibility testing and quickly migrate to openeuler?
据说用了这个,老板连夜把测试开了
Multiparty Cardinality Testing for Threshold Private Set-2021:解读
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
Another miserable day by kotlin grammar
Win10 R package installation error: not installed in arch=i386
自定义一个注解来获取数据库的链接
Discussion on the essence of "FPGA mining" from open source projects