Hey guys, how can I configure the NodeJS binary do...
# javascript
m
Hey guys, how can I configure the NodeJS binary download location in my build file?
v
Set the
nodeDownloadBaseUrl
of the
NodeJsRootExtension
to the Url where you want to download it like:
Copy code
configure<NodeJsRootExtension> {
    nodeDownloadBaseUrl = "..."
}
a
Sorry to hijack the conversation. Whats the default
nodeDownloadBaseUrl
?
v
<https://nodejs.org/dist|https://nodejs.org/dist>
a
After seeing your answer, I am now realising that I didn't understand the initial question hence my follow up question was skewed. I thought Chaitanya asked how he could configure where the NodeJs binary was being downloaded to (Not where its being download from). As in where does the binary go into his FileSystem and how could he change it And my follow question was whats the default path. That being said, do you happend to know the default path? @Vampire
v
<GRADLE_USER_HOME>/nodejs
Configurable via
installationDir
on the same extension
a
Thanks, thats what I needed to know
👌 1