当前位置:网站首页>About using NPM command under the terminal, the installation error problem is solved (my own experience)
About using NPM command under the terminal, the installation error problem is solved (my own experience)
2022-07-25 23:04:00 【@_ Apes come like this】
1. for instance : When you use npm i mysql -S When , If something goes wrong , One case is the following figure :
The picture above shows me in cmd It's running inside , Of course, the result is the same as that of running on the terminal , This error shows D Disk does not have permission to create , Then don't go D Right click the properties of the disk and then view the permissions , Well, don't take detours. This is my useless work .
2. Then I associate the problem of configuring environment variables , Double click this computer, then right-click the blank space and click properties , Then select advanced system settings , Then click Configure environment variables , Select Path, Then double click. , Create a new directory , Copy what you unzipped and downloaded node.exe In the path of , Then keep clicking OK OK 了 ( The detailed similar operation process is in mine Eclipse Look it up in the article )
3. And on again vs code Editor , Input... At the terminal npm i mysql -S, In this case, it should succeed , If this problem occurs :npm : Cannot be “npm” Item identified as cmdlet、 function 、 The name of the script file or runnable program . This question is related to node_modules of , You should check whether it is in the directory where you configure environment variables , If not, just move to that directory , And then it runs successfully .

If you encounter difficulties, don't rush , And don't give up , Calmness is the key to solving existing problems .
Focus on not getting lost , Take you less detours ,
边栏推荐
- firewall 命令简单操作
- Memory paging and tuning, kernel and user space
- AI首席架构师12-AICA-工业生产过程优化场景下产业落地解析
- How painful is it to write unit tests?
- Mocha test
- Design of regular expressions
- Stack simulation queue
- Opencv compile and call GPU version
- asp日期函数(磁盘函数不正确怎么办)
- 【自然语言处理】【向量表示】AugSBERT:改善用于成对句子评分任务的Bi-Encoders的数据增强方法
猜你喜欢

Network Security Learning (11) scanning and blasting

We media people must have four resource tools, each of which is very practical

Kibana~ the process number cannot be found after kibana is started in the background

Notification(状态栏通知)详解

Stack and stack class
![[interface performance optimization] reasons for index failure and how to optimize SQL](/img/b9/64058c823c4497ac36bfb62a101816.jpg)
[interface performance optimization] reasons for index failure and how to optimize SQL

Madness. MySQL learning.

Take root downward, grow upward, and explore the "root" power of Huawei cloud AI

Interview question 17.11. word distance ●●

Day 3 experiment
随机推荐
Enabling partners, how can Amazon cloud technology "get on the horse and get a ride"?
Recyclerview computehorizontalscrollextend computehorizontalscrollrange computehorizontalscroll for calculating the sliding distance
[opencv] edge detection [API and source code implementation]
[PTA] 7-19 check face value (15 points)
Anaconda~Upload did not complete.
QT的Tree View Model示例
[文献阅读] - HRL -[HRL with Universal Policies for Multi-Step Robotic Manipulation]
[paper notes] robot dynamic tracking and grasping method based on online prediction and planning
PE格式: 分析IatHook并实现
The difference between overloading and rewriting
Deploy flash based websites using Google cloud
The third experiment OSPF
CSV intro
What is the difference between bio, NiO and AIO?
技术美术百人计划学习笔记(2)--向量
5 ROS仿真建模(3- rviz+gazebo+控制仿真机器人)
Notification设置的小图标显示的是小方块
QT Chinese programming encounters c2001 error, prompting "there is a newline character in the constant"
QVariant的使用
[PMP learning notes] Chapter 1 Introduction to PMP System