openvibers/openvibe.games · CI

main 5c11cee7f755

Failed Dependency install failed (exit 1)

Log

file:///workspace/.ci/relay.js:2
const net = require('node:net');
            ^

ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and '/workspace/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
    at file:///workspace/.ci/relay.js:2:13
    at ModuleJob.run (node:internal/modules/esm/module_job:343:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:681:26)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)

Node.js v22.23.4
node:fs:1370
  const result = binding.mkdir(
                         ^

Error: ENOENT: no such file or directory, mkdir '/home/workstation/.local/share/openvibe-git-ci/work/run-cir_01M742SHXNYPM0R7CJ4F98P1JN/.home/.cache/node/corepack/v1'
    at mkdirSync (node:fs:1370:26)
    at getTemporaryFolder (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:13030:27)
    at download (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:13350:21)
    at installVersion (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:13466:61)
    at async Engine.ensurePackageManager (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:13994:32)
    at async Engine.executePackageManagerRequest (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:14111:25)
    at async Object.runMain (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:14838:7) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'mkdir',
  path: '/home/workstation/.local/share/openvibe-git-ci/work/run-cir_01M742SHXNYPM0R7CJ4F98P1JN/.home/.cache/node/corepack/v1'
}

Node.js v22.23.4