No executable npm found, No executable node found
Mac OS X Sierra IntelliJ IDEA 2016.3 NodeJS 7.7.3 installed in usr\local\bin
на windows все ок. где подкрутить на MAC?
is /usr/local/bin in the PATH on Mac? do you run gradle from command line or from IDEA? I remember there was some difference between UI apps and command-line
Got the same thing when running from inside IDEA on Ubuntu 16.04.2.
Seems to run fine on the command line though.
Same problem here. It works in command line but not in IDEA.
So, Homebrew on OS X installs node into /usr/local/bin, but, the default PATH for UI applications not launched from the Terminal is /usr/bin:/bin:/usr/sbin:/sbin. Thus, IntelliJ probably won't find anything installed via Homebrew or Terminal.
I've found that running the launchctl config user path command works well, e.g., sudo launchctl config user path $PATH sets the user path for UI applications just like what I have in the Terminal at the moment. You just have to run it and reboot.
Now I see it is a known issue. This should be fixed in IDEA 2017.2 and Gradle 3.5
https://youtrack.jetbrains.com/issue/IDEA-115426