Open warnyul opened 6 years ago
same for other versions of NodeJS (10.10,10.11)
Still happens on gradle-node-plugin 1.3.1 and NodeJS 11.12.0.
FYI: I have since switched to the com.github.node-gradle.node
plugin rather than this one, which no longer seems maintained, which does not have this issue.
anyway to solve this, like pointing to the already installed node folder? I'm having the error without having GRADLE_METADATA
> Could not find org.nodejs:node:12.22.1.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/nodejs/node/12.22.1/node-12.22.1.pom
- https://packages.atlassian.com/maven-3rdparty/org/nodejs/node/12.22.1/node-12.22.1.pom
- https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/org/nodejs/node/12.22.1/node-12.22.1.pom
- https://nodejs.org/dist/v12.22.1/node-v12.22.1-darwin-arm64.tar.gz
Problem
I enabled GRADLE_METADATA feature on my kotlin-multiplatform-js project, and I got following error:
Configuration
I use Gradle 4.7 for builds and following gradle-node-js plugin configuration:
Workaround