当前位置:网站首页>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 ,
边栏推荐
- The small icon of notification setting shows a small square
- QT的Tree View Model示例
- Single model common sense reasoning first surpasses human beings! HFL summit openbookqa challenge
- The fifth article in the series of radar Fundamentals: the function of radar modulation style
- Kibana~ the process number cannot be found after kibana is started in the background
- 第二周学习:卷积神经网络
- What has Amazon cloud technology done right to become the leader of cloud AI services for three consecutive years?
- [natural language processing] [vector representation] augsbert: improve the data enhancement method of Bi encoders for paired sentence scoring tasks
- invalid syntax
- The difference between overloading and rewriting
猜你喜欢

Use of qvariant

recyclerview计算滑动距离之computeHorizontalScrollExtent-computeHorizontalScrollRange-computeHorizontalScrol

第二周学习:卷积神经网络

Madness. Smbms (supermarket order management system)

Madness. MySQL learning.

Day006 select structure (if statement exercise)

DHCP first static experiment

【论文笔记】A Meta-Reinforcement Learning Algorithm for Causal Discovery

Single model common sense reasoning first surpasses human beings! HFL summit openbookqa challenge

Network Security Learning (XII) OSI and TCP
随机推荐
Qt5.12 installation error prompt: c:\qt5.12.11\vcredist\vcredist_ msvc2019_ x86.exe /norestart /q
单元测试,写起来到底有多痛?
Anaconda~Upload did not complete.
Why is Google's internal tools not suitable for you?
Ma Tiji Wanmin hall Chef
PCL basic operation Encyclopedia
Session and cookie, token and storage
第二周学习:卷积神经网络
Take root downward, grow upward, and explore the "root" power of Huawei cloud AI
SSH服务器CBC加密模式漏洞(CVE-2008-5161)
Basic knowledge of radar
每周推荐短视频:需要协同的智能设备越来越多,给物联网开发提出更大挑战?
The difference between "rewrite" and "overload"
Similarities and differences between equals and "= ="
互联网协议之 IPFS
What are the differences between FileInputStream and bufferedinputstream?
[MySQL rights] UDF rights (with Malaysia)
Redis过期键的删除策略[通俗易懂]
anaconda安装教程环境变量(如何配置环境变量)
Summary of my 2020 online summer camp