node.js - Gradle NPM node error (npm' is not recognized as an internal or external command) -


how gradle recognize npm commands?

i getting exception gradle build task

npm' not recognized internal or external command 

preconditions:

i have installed node locally on windows machine. npm command working through command line, while running gradle build file command or ide getting exception.

  1. verify have npm installed (it should live in nodejs program folder)
  2. if don't find file called "npm" in there, (re)install node downloading , running nodejs msi file (npm comes it)
  3. add node.js's program folder systems path , restart command line.

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -