Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The processing method of not using npm command in vscode terminal

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Xiaobian to share with you vscode terminal can not use the npm command processing method, I believe most people do not know how, so share this article for your reference, I hope you read this article after a great harvest, let us go to understand it!

In cmd, you can execute npm -v,nodemon -v instructions normally, but in vs code terminal, you cannot execute npm command to solve the problem of selling official:

Option 1, right click vs code compatibility Run as administrator, restart vs code

Option 2: Add the environment variable of the path where npm is located

View npm environment variable path:

Run npm list -g --depth 0 in cmd to view globally installed packages

The above is "vscode terminal can not use the npm command processing method" all the contents of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report