Is it possible to disable node and yarn download w...
# javascript
i
Is it possible to disable node and yarn download with 1.3.40 eap version?
a
^^ сс @snrostov
s
It downloaded only if you have nodejs() or browser() in your js target configuration. Is it?
i
Yes, but if I have yarn installed locally and don't want to download it, can I have possibility to disable it? It is usefull for e.g. CI servers w/o internet connection
s
Copy code
project.kotlinNodeJs.download = false
should work
yarn downloading currently cannot be skipped
btw, why do you need yarn and node without internet connection?
i
It can connect to private npm registry (corporative artifactory for example) without connecting to central npm registry
s
I see, please create issue in https://youtrack.jetbrains.com/issues/KT
i
h
Hey, I know this is an old thread, but disabling yarn and use the local installation is "still" not possible with Kotlin 1.5.10, is it? A workaround does not exists, right?
i
Yes, for
yarn
it is unfortunately not implemented yet You can change URL, which will be used for download of yarn
🙏 1
j
how do you change the yarn url? ah, wait for 1.6 it looks like from that ticket