You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 10, 2021. It is now read-only.
The plugin com.moowork.node is the plugin that is used in the Kotlin Javascript examples to run Kotlin/JS unit tests.
However, the mere fact to apply the konan plugin in a different module makes the node plugin fail.
Moere specifically, it fails to download NodeJS:
$ ./gradlew test
Starting a Gradle Daemon, 5 stopped Daemons could not be reused, use --status for details
> Task :js:nodeSetup FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':js:nodeSetup'.
> Could not resolve all files for configuration ':js:detachedConfiguration1'.
> Could not find org.nodejs:node:6.9.1.
Searched in the following locations:
https://nodejs.org/dist/v6.9.1/node.module
https://nodejs.org/dist/v6.9.1/ivy.xml
Required by:
project :js
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 10s
Note that this only happens if you don't have the NodeJS archive downloaded in cache, so be sure to remove it from Gradle cache before running the test: