I'm trying to integrate Java and npm Builds Using Gradle Kotlin DSL. I was going through the example dzone article and github example code.
I'm in npm-app
project folder and running the command gradle npm_run_build
.
$ gradle npm_run_build
Task :npm-app:nodeSetup FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':npm-app:nodeSetup'.
Could not resolve all files for configuration ':npm-app:detachedConfiguration1'. Could not find org.nodejs:node:10.14.1. Searched in the following locations: - https://nodejs.org/dist/v10.14.1/ivy.xml Required by: project :npm-app BUILD FAILED in 810ms 1 actionable task: 1 executed
How can I fix this error?