简体   繁体   中英

Complication with Node.JS on Windows

I'm currently trying to develop a website using foundation 5. My problem is a few minutes after installing node.js on my windows laptop, my access is denied by windows whenever I try to run any command of node js, even checking the version of node or npm wont work.

I'm really confused because whenever it's freshly installed, there's no problem whatsoever, but after a few minutes, windows denies my access to any related node js command.

  1. just change the installation directory while installing node next time & install it on some other drive....
  2. Now go to system properties>Environment variables and add one environment variable with name PATH and value=/installation/directory/of/node
  3. Now run any node app with node commands. Hope this will work :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM