In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how to solve the problem of prompting that node is not an internal or external command. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Solution: 1, open the "Control Panel", click "system and Security"-"system"-"Advanced system Settings"-"Environment variable"; 2, in the user variable, set the value of "NODE_PATH" to the nodejs installation directory path; 3, in the system variable, add the nodejs installation directory path in the "path". This tutorial operating environment: windows10 system, nodejs version 12.19.0, DELL G3 computer.
Status:
After installing nodejs, type node-v on the command line to prompt that 'node' is not an internal or external command, nor is it a runnable program or batch file
Reason:
Check that the environment variable is not configured with positive
Configure environment variables:
In windows system, the path of nodejs installation directory needs to be set into system variable or user variable.
Open Control Panel-> system and Security-> system-> Advanced system Settings-> Environment variables
Set NODE_PATH:C:\ Program Files\ nodejs\ in the user variable (this is my nodejs installation directory, which you can modify according to your own situation)
In the system variable, add to path: C:\ Program Files\ nodejs\
Thank you for reading! This is the end of this article on "how to solve the problem that prompting node is not an internal or external command". 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, you can 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: 241
*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.