当前位置:网站首页>[NPM] the "NPM" item cannot be recognized as the name of cmdlets, functions, script files or runnable programs. Please check the spelling of the name. If the path is included, make sure the path is co
[NPM] the "NPM" item cannot be recognized as the name of cmdlets, functions, script files or runnable programs. Please check the spelling of the name. If the path is included, make sure the path is co
2022-07-27 18:50:00 【Fantasia of the cat】
When configuring a project environment variable :
Installation dependency :
$ npm i -g @tarojs/[email protected]
$ npm installThe following error occurred :
npm : Cannot be “npm” Item identified as cmdlet、 function 、 The name of the script file or runnable program . Please check the spelling of the name , If the path is included , Please make sure the path is correct , then try again
npm : Cannot be “npm” Item identified as cmdlet、 function 、 The name of the script file or runnable program . Please check the spelling of the name , If the path is included , Please make sure the path is correct , however
Try again later .
The position of That's ok :1 character : 1
+ npm i -g @tarojs/[email protected]
+ ~~~
+ CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

The reason is : Not configured Node.js The system environment variable of .
The solution is as follows :
Right click on this computer ---> Advanced configuration --> environment variable
Add environment variables to the system NODE_PATH , Path is Install it yourself Node.js The path of .
Just a little more - In the system variable path route : add to %NODE_PATH%

Then click OK .
Finally restart the computer , that will do .
install Node.js , But in my Find it in resources .
边栏推荐
- mysql基础语句
- How to realize the full-text content retrieval of word, PDF and txt files?
- Class not found: "the com.parkmanagement.dao.daotest test cannot find the test class
- 百度地图鹰眼轨迹服务
- Infrared hyperspectral survey
- 2021.7.22 note constraints
- 2021.8.6 notes jsoup
- MySQL查询列必须和group by字段一致吗?
- 解决Jsp级联问题
- 智能失眠治疗仪产品-DLT8P68SA-杰力科创
猜你喜欢

机器学习分类任务效果评估指标大全(包含ROC和AUC)

Knowledge map - Jieba, pyhanlp, smoothnlp tools to realize Chinese word segmentation (part of speech)

Alibaba architects spent 280 hours sorting out 1015 pages of distributed full stack pamphlets to easily start the distributed system

地图找房的实例

2021.7.19 notes DML

What does the number of network request interface layers (2/3 layers) mean

Run the uniapp to the mobile phone (real machine debugging)

Matplotlib(基本用法)

Nacos display service registration address error

解决Jsp级联问题
随机推荐
MySQL 主从复制数据不一致,怎么办?
MySQL basic statement
Pandas' to_ SQL function usage
TS study notes class
机器学习——SVM训练集只有一类标签数据而引发的错误
怎么会不喜欢呢,CI/CD中轻松发送邮件
Jianmu continuous integration platform v2.5.2 release
Modify placeholder style in input
商品名称模糊搜索:
Idea 2020.1 Community Edition download experience
你想得到想不到的MySQL面试题都在这了(2022最新版)
mysql基础语句
How to realize the full-text content retrieval of word, PDF and txt files?
Aircraft collision detection
2021.7.18 notes MySQL data type
Use ETL tools for data migration in salesforce project
迷你洗衣机触摸芯片-DLT8MA12TS-杰力科创
2021.8.1 notes DBA
2021.7.28 notes
Join query and subquery