Merge pull request #103 from joreilly/js_apple_silicon
workaround for node.js version on apple silicon
This commit is contained in:
commit
d35f8e64fa
1 changed files with 7 additions and 0 deletions
|
@ -39,3 +39,10 @@ allprojects {
|
|||
maven(url = "https://maven.pkg.jetbrains.space/public/p/ktor/eap")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// On Apple Silicon we need Node.js 16.0.0
|
||||
// https://youtrack.jetbrains.com/issue/KT-49109
|
||||
rootProject.plugins.withType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin::class) {
|
||||
rootProject.the(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension::class).nodeVersion = "16.0.0"
|
||||
}
|
Loading…
Reference in a new issue