Is adding support to allow running node commands u...
# javascript
r
Is adding support to allow running node commands using the installation from the Kotlin js plugin on the roadmap? I haven’t found a supported way to do this at the moment 😢
i
It is necessary to be investigated to change
PATH
inside Gradle build and how it can affect further commands. You can try as a WA to add folder, in which node will be installed, into
PATH
before run Gradle task It depends (
GRADLE_HOME/nodejs/node-v12.16.1-darwin(or other os dependent)/bin
) only on Gradle home directory, which is invariant
r
So its always in GRADLE_HOME/nodejs/PLATFORM_PATH/bin ?
I can probably dupe the platform path source then
i
Yes, it is always installes in it Or you can install nodejs into your environment by your own and disable installing by gradle plugin
👍 1
r
Yeah I figured those were the options. I’m currently doing the latter via a second gradle plugin, and I’d like to get rid of it, so I’ll probably code something to the former
Much appreciated
It’d be nice to at least expose that platform-specific node path sometime 🙂