In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to add the npm path to vscode. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
How to add npm path to vscode
Install Node.js, npm and other commands in vscode invalid how to solve it.
Solution:
The vscode terminal uses the system's cmd, so the vscode cannot use the npm command, so the problem that cmd cannot use npm needs to be solved first.
If the downloaded zip package is decompressed, you have to configure it into the system environment variable.
For example, if the nodejs folder is in D:\ Nodejs, you need to add'D:\ NodeJs', to the Path variable. This configuration is mainly for node.exe,npm.cmd. If you installed it using the installation package, this step has been completed during the installation process.
Obviously node.js has been downloaded, but the npm command is invalid in vscode.
Because you open VScode when you install the Node.js package, you think it may be because the VScode terminal will not detect the new environment variables in real time, but only once when opening VScode initialization, so turn off VScode and re-open a VScode to use the commands contained in node-v and npm-v packages under the terminal.
This is the end of the article on "how to add npm paths to vscode". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.