CLOVIS
03/09/2020, 7:24 PMnode:alpine
(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
when running ./gradlew jsBrowserTest --stacktrace --info
(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...Eivind Nilsbakken
03/10/2020, 6:31 AM/root/.gradle/etc/
, but GitLab changes that to a custom less privileged user. If you can change that path at all, I'd try $HOME/.gradle/...
or something (eg. ``pwd`/.gradle/...` ).npm run
those tests. You'd probably have to make a custom package.json
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.ymlsean
03/10/2020, 5:32 PMIlya Goncharov [JB]
03/10/2020, 9:20 PMCLOVIS
03/11/2020, 12:53 PMnode:alpine
, so I assumed it would work...Eivind Nilsbakken
03/11/2020, 1:09 PMIlya Goncharov [JB]
03/11/2020, 1:14 PMCLOVIS
03/11/2020, 1:18 PMIlya Goncharov [JB]
03/11/2020, 1:25 PMCLOVIS
03/11/2020, 1:28 PMEivind Nilsbakken
03/11/2020, 1:30 PMCI
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