CLOVIS03/09/2020, 7:24 PM
(full dockerfile), with Gradle 6.0.1. I'm getting the following error message:
Caused by: <http://java.io|java.io>.IOException: Cannot run program "/root/.gradle/nodejs/node-v10.15.3-linux-x64/bin/node" (in directory "/builds/clovis-ai/lib/build/js"): error=2, No such file or directory at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25) ... 7 more Caused by: <http://java.io|java.io>.IOException: error=2, No such file or directory ... 8 more
(on task ':kotlinNpmInstall', full stacktrace). (full build.gradle.kts) Does anyone know why that occurs? The error message doesn't really help me to understand what is going wrong...
./gradlew jsBrowserTest --stacktrace --info
Eivind Nilsbakken03/10/2020, 6:31 AM
, but GitLab changes that to a custom less privileged user. If you can change that path at all, I'd try
or something (eg. ``pwd`/.gradle/...` ).
those tests. You'd probably have to make a custom
for that to work though, which you might not want in your final build. I don't know how those tests are supposed to work though, or if they're generated by the multiplatform plugin, so that might not be a good solution for you. Otherwise, here's my current setup, where I'm doing something similar for publishing packages to npmjs: https://gitlab.com/fleskesvor/tabletop-enums/-/blob/ci-deploy-npm/.gitlab-ci.yml
sean03/10/2020, 5:32 PM
Ilya Goncharov [JB]03/10/2020, 9:20 PM
CLOVIS03/11/2020, 12:53 PM
, so I assumed it would work...
Eivind Nilsbakken03/11/2020, 1:09 PM
Ilya Goncharov [JB]03/11/2020, 1:14 PM
CLOVIS03/11/2020, 1:18 PM
Ilya Goncharov [JB]03/11/2020, 1:25 PM
CLOVIS03/11/2020, 1:28 PM
Eivind Nilsbakken03/11/2020, 1:30 PM
environment variable to check if the code is being built on CircleCI, and disable download of node if so. https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables