Skip to content

chore(deps): update react monorepo #1441

chore(deps): update react monorepo

chore(deps): update react monorepo #1441

Triggered via pull request December 10, 2024 22:32
Status Failure
Total duration 5m 9s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
test/main/applications.test.mjs > open application: node_modules/execa/index.js#L118
Error: Command failed with exit code 1: /usr/local/bin/npm install @platformatic/runtime npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '>=20.18.1' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported npm warn cleanup Failed to remove some directories [ npm warn cleanup [ npm warn cleanup '/tmp/plat-app-testMGV0Fa/node_modules/better-sqlite3', npm warn cleanup [Error: ENOTEMPTY: directory not empty, rmdir '/tmp/plat-app-testMGV0Fa/node_modules/better-sqlite3'] { npm warn cleanup errno: -39, npm warn cleanup code: 'ENOTEMPTY', npm warn cleanup syscall: 'rmdir', npm warn cleanup path: '/tmp/plat-app-testMGV0Fa/node_modules/better-sqlite3' npm warn cleanup } npm warn cleanup ] npm warn cleanup ] npm error code 1 npm error path /tmp/plat-app-testMGV0Fa/node_modules/thread-cpu-usage npm error command failed npm error command sh -c node scripts/install.js npm error node:internal/errors:496 npm error ErrorCaptureStackTrace(err); npm error ^ npm error npm error TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined npm error at new NodeError (node:internal/errors:405:5) npm error at validateString (node:internal/validators:162:11) npm error at resolve (node:path:1097:7) npm error at file:///tmp/plat-app-testMGV0Fa/node_modules/thread-cpu-usage/lib/utils.js:8:26 npm error at ModuleJob.run (node:internal/modules/esm/module_job:195:25) npm error at async ModuleLoader.import (node:internal/modules/esm/loader:337:24) npm error at async loadESM (node:internal/process/esm_loader:34:7) npm error at async handleMainPromise (node:internal/modules/run_main:106:12) { npm error code: 'ERR_INVALID_ARG_TYPE' npm error } npm error npm error Node.js v18.20.5 npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-12-10T22_35_17_387Z-debug-0.log ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ Module.npmInstall src/main/lib/run-npm.mjs:57:3 ❯ Module.importOrLocal src/main/lib/import-or-local.mjs:25:5 ❯ Module.inspectApp src/main/lib/inspect-app.mjs:54:47 ❯ Applications.openApplication src/main/lib/applications.mjs:245:40 ❯ test/main/applications.test.mjs:311:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /usr/local/bin/npm install @platformatic/runtime', command: '/usr/local/bin/npm install @platformatic/runtime', escapedCommand: '"/usr/local/bin/npm" install "@platformatic/runtime"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'npm warn EBADENGINE Unsupported engine {\nnpm warn EBADENGINE package: \'[email protected]\',\nnpm warn EBADENGINE required: { node: \'>=20.18.1\' },\nnpm warn EBADENGINE current: { node: \'v18.20.5\', npm: \'10.8.2\' }\nnpm warn EBADENGINE }\nnpm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.\nnpm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported\nnpm warn cleanup Failed to remove some directories [\nnpm warn cleanup [\nnpm warn cleanup \'/tmp/plat-app-testMGV0Fa/node_modules/better-sqlite3\',\nnpm warn cleanup [Error: ENOTEMPTY: directory not empty, rmdir \'/tmp/plat-app-testMGV0Fa/node_modules/better-sqlite3\'] {\nnpm warn cleanup errno: -39,\nnpm warn cleanup code: \'ENOTEMPTY\',\nnpm warn cleanup syscall: \'rmdir\',\nnpm warn cleanu
test/main/applications.test.mjs > upgrade plt on an application: node_modules/execa/index.js#L118
Error: Command failed with exit code 1: /usr/local/bin/npm install npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '>=20.18.1' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm error code 1 npm error path /tmp/plat-app-testmBusAO/node_modules/thread-cpu-usage npm error command failed npm error command sh -c node scripts/install.js npm error node:internal/errors:496 npm error ErrorCaptureStackTrace(err); npm error ^ npm error npm error TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined npm error at new NodeError (node:internal/errors:405:5) npm error at validateString (node:internal/validators:162:11) npm error at resolve (node:path:1097:7) npm error at file:///tmp/plat-app-testmBusAO/node_modules/thread-cpu-usage/lib/utils.js:8:26 npm error at ModuleJob.run (node:internal/modules/esm/module_job:195:25) npm error at async ModuleLoader.import (node:internal/modules/esm/loader:337:24) npm error at async loadESM (node:internal/process/esm_loader:34:7) npm error at async handleMainPromise (node:internal/modules/run_main:106:12) { npm error code: 'ERR_INVALID_ARG_TYPE' npm error } npm error npm error Node.js v18.20.5 npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-12-10T22_35_39_186Z-debug-0.log ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ Module.npmInstall src/main/lib/run-npm.mjs:57:3 ❯ Module.upgradePlt src/main/lib/upgrade-plt.mjs:39:3 ❯ Applications.upgradeApplicationPlt src/main/lib/applications.mjs:287:29 ❯ test/main/applications.test.mjs:439:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /usr/local/bin/npm install', command: '/usr/local/bin/npm install', escapedCommand: '"/usr/local/bin/npm" install', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'npm warn EBADENGINE Unsupported engine {\nnpm warn EBADENGINE package: \'[email protected]\',\nnpm warn EBADENGINE required: { node: \'>=20.18.1\' },\nnpm warn EBADENGINE current: { node: \'v18.20.5\', npm: \'10.8.2\' }\nnpm warn EBADENGINE }\nnpm error code 1\nnpm error path /tmp/plat-app-testmBusAO/node_modules/thread-cpu-usage\nnpm error command failed\nnpm error command sh -c node scripts/install.js\nnpm error node:internal/errors:496\nnpm error ErrorCaptureStackTrace(err);\nnpm error ^\nnpm error\nnpm error TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined\nnpm error at new NodeError (node:internal/errors:405:5)\nnpm error at validateString (node:internal/validators:162:11)\nnpm error at resolve (node:path:1097:7)\nnpm error at file:///tmp/plat-app-testmBusAO/node_modules/thread-cpu-usage/lib/utils.js:8:26\nnpm error at ModuleJob.run (node:internal/modules/esm/module_job:195:25)\nnpm error at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)\nnpm error at async loadESM (node:internal/process/esm_loader:34:7)\nnpm error at async handleMainPromise (node:internal/modules/run_main:106:12) {\nnpm error code: \'ERR_INVALID_ARG_TYPE\'\nnpm error }\nnpm error\nnpm error Node.js v18.20.5\nnpm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-12-10T22_35_39_186Z-debug-0.log', failed: true, timedOut: false, isCanceled: false, killed: false }
test/main/create-app.test.mjs > Create app: node_modules/execa/index.js#L118
Error: Command failed with exit code 1: /usr/local/bin/npm install @platformatic/runtime npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '>=20.18.1' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm error code 1 npm error path /tmp/plat-app-test-createMlLGiY/electron-testing/node_modules/thread-cpu-usage npm error command failed npm error command sh -c node scripts/install.js npm error node:internal/errors:496 npm error ErrorCaptureStackTrace(err); npm error ^ npm error npm error TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined npm error at new NodeError (node:internal/errors:405:5) npm error at validateString (node:internal/validators:162:11) npm error at resolve (node:path:1097:7) npm error at file:///tmp/plat-app-test-createMlLGiY/electron-testing/node_modules/thread-cpu-usage/lib/utils.js:8:26 npm error at ModuleJob.run (node:internal/modules/esm/module_job:195:25) npm error at async ModuleLoader.import (node:internal/modules/esm/loader:337:24) npm error at async loadESM (node:internal/process/esm_loader:34:7) npm error at async handleMainPromise (node:internal/modules/run_main:106:12) { npm error code: 'ERR_INVALID_ARG_TYPE' npm error } npm error npm error Node.js v18.20.5 npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-12-10T22_37_16_185Z-debug-0.log ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ Module.npmInstall src/main/lib/run-npm.mjs:57:3 ❯ Module.importOrLocal src/main/lib/import-or-local.mjs:25:5 ❯ Module.createApp src/main/generate.mjs:85:19 ❯ test/main/create-app.test.mjs:104:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /usr/local/bin/npm install @platformatic/runtime', command: '/usr/local/bin/npm install @platformatic/runtime', escapedCommand: '"/usr/local/bin/npm" install "@platformatic/runtime"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'npm warn EBADENGINE Unsupported engine {\nnpm warn EBADENGINE package: \'[email protected]\',\nnpm warn EBADENGINE required: { node: \'>=20.18.1\' },\nnpm warn EBADENGINE current: { node: \'v18.20.5\', npm: \'10.8.2\' }\nnpm warn EBADENGINE }\nnpm error code 1\nnpm error path /tmp/plat-app-test-createMlLGiY/electron-testing/node_modules/thread-cpu-usage\nnpm error command failed\nnpm error command sh -c node scripts/install.js\nnpm error node:internal/errors:496\nnpm error ErrorCaptureStackTrace(err);\nnpm error ^\nnpm error\nnpm error TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined\nnpm error at new NodeError (node:internal/errors:405:5)\nnpm error at validateString (node:internal/validators:162:11)\nnpm error at resolve (node:path:1097:7)\nnpm error at file:///tmp/plat-app-test-createMlLGiY/electron-testing/node_modules/thread-cpu-usage/lib/utils.js:8:26\nnpm error at ModuleJob.run (node:internal/modules/esm/module_job:195:25)\nnpm error at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)\nnpm error at async loadESM (node:internal/process/esm_loader:34:7)\nnpm error at async handleMainPromise (node:internal/modules/run_main:106:12) {\nnpm error code: \'ERR_INVALID_ARG_TYPE\'\nnpm error }\nnpm error\nnpm error Node.js v18.20.5\nnpm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-12-10T22_37_16_185Z-debug-0.log', failed: true, timedOut: false, isCanceled: false, killed: false }
test/main/prepare-folder.test.mjs > Install one @platformatic/service template: node_modules/execa/index.js#L118
Error: Command failed with exit code 1: /usr/local/bin/npm install @platformatic/service npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '^20.9.0 || >=22.0.0' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '>=20.18.1' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm error code 1 npm error path /tmp/plat-app-test-createzjcfQl/test-app/node_modules/thread-cpu-usage npm error command failed npm error command sh -c node scripts/install.js npm error node:internal/errors:496 npm error ErrorCaptureStackTrace(err); npm error ^ npm error npm error TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined npm error at new NodeError (node:internal/errors:405:5) npm error at validateString (node:internal/validators:162:11) npm error at resolve (node:path:1097:7) npm error at file:///tmp/plat-app-test-createzjcfQl/test-app/node_modules/thread-cpu-usage/lib/utils.js:8:26 npm error at ModuleJob.run (node:internal/modules/esm/module_job:195:25) npm error at async ModuleLoader.import (node:internal/modules/esm/loader:337:24) npm error at async loadESM (node:internal/process/esm_loader:34:7) npm error at async handleMainPromise (node:internal/modules/run_main:106:12) { npm error code: 'ERR_INVALID_ARG_TYPE' npm error } npm error npm error Node.js v18.20.5 npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-12-10T22_37_23_346Z-debug-0.log ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ Module.npmInstall src/main/lib/run-npm.mjs:57:3 ❯ Module.importOrLocal src/main/lib/import-or-local.mjs:25:5 ❯ Module.prepareFolder src/main/generate.mjs:32:24 ❯ test/main/prepare-folder.test.mjs:59:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /usr/local/bin/npm install @platformatic/service', command: '/usr/local/bin/npm install @platformatic/service', escapedCommand: '"/usr/local/bin/npm" install "@platformatic/service"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'npm warn EBADENGINE Unsupported engine {\nnpm warn EBADENGINE package: \'[email protected]\',\nnpm warn EBADENGINE required: { node: \'^20.9.0 || >=22.0.0\' },\nnpm warn EBADENGINE current: { node: \'v18.20.5\', npm: \'10.8.2\' }\nnpm warn EBADENGINE }\nnpm warn EBADENGINE Unsupported engine {\nnpm warn EBADENGINE package: \'[email protected]\',\nnpm warn EBADENGINE required: { node: \'>=20.18.1\' },\nnpm warn EBADENGINE current: { node: \'v18.20.5\', npm: \'10.8.2\'
test/main/prepare-folder.test.mjs > Install one @platformatic/service template twice: node_modules/execa/index.js#L118
Error: Command failed with exit code 1: /usr/local/bin/npm install @platformatic/service npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '^20.9.0 || >=22.0.0' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '>=20.18.1' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm error code 1 npm error path /tmp/plat-app-test-createJc3Oq6/test-app/node_modules/thread-cpu-usage npm error command failed npm error command sh -c node scripts/install.js npm error node:internal/errors:496 npm error ErrorCaptureStackTrace(err); npm error ^ npm error npm error TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined npm error at new NodeError (node:internal/errors:405:5) npm error at validateString (node:internal/validators:162:11) npm error at resolve (node:path:1097:7) npm error at file:///tmp/plat-app-test-createJc3Oq6/test-app/node_modules/thread-cpu-usage/lib/utils.js:8:26 npm error at ModuleJob.run (node:internal/modules/esm/module_job:195:25) npm error at async ModuleLoader.import (node:internal/modules/esm/loader:337:24) npm error at async loadESM (node:internal/process/esm_loader:34:7) npm error at async handleMainPromise (node:internal/modules/run_main:106:12) { npm error code: 'ERR_INVALID_ARG_TYPE' npm error } npm error npm error Node.js v18.20.5 npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-12-10T22_37_29_341Z-debug-0.log ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ Module.npmInstall src/main/lib/run-npm.mjs:57:3 ❯ Module.importOrLocal src/main/lib/import-or-local.mjs:25:5 ❯ Module.prepareFolder src/main/generate.mjs:32:24 ❯ test/main/prepare-folder.test.mjs:69:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /usr/local/bin/npm install @platformatic/service', command: '/usr/local/bin/npm install @platformatic/service', escapedCommand: '"/usr/local/bin/npm" install "@platformatic/service"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'npm warn EBADENGINE Unsupported engine {\nnpm warn EBADENGINE package: \'[email protected]\',\nnpm warn EBADENGINE required: { node: \'^20.9.0 || >=22.0.0\' },\nnpm warn EBADENGINE current: { node: \'v18.20.5\', npm: \'10.8.2\' }\nnpm warn EBADENGINE }\nnpm warn EBADENGINE Unsupported engine {\nnpm warn EBADENGINE package: \'[email protected]\',\nnpm warn EBADENGINE required: { node: \'>=20.18.1\' },\nnpm warn EBADENGINE current: { node: \'v18.20.5\', npm: \'10.8.2\'
test/main/update-app.test.mjs > Create app then update it: node_modules/execa/index.js#L118
Error: Command failed with exit code 1: /usr/local/bin/npm install @platformatic/runtime npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '>=20.18.1' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm error code 1 npm error path /tmp/plat-app-test-createxwzeyX/testapp/node_modules/thread-cpu-usage npm error command failed npm error command sh -c node scripts/install.js npm error node:internal/errors:496 npm error ErrorCaptureStackTrace(err); npm error ^ npm error npm error TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined npm error at new NodeError (node:internal/errors:405:5) npm error at validateString (node:internal/validators:162:11) npm error at resolve (node:path:1097:7) npm error at file:///tmp/plat-app-test-createxwzeyX/testapp/node_modules/thread-cpu-usage/lib/utils.js:8:26 npm error at ModuleJob.run (node:internal/modules/esm/module_job:195:25) npm error at async ModuleLoader.import (node:internal/modules/esm/loader:337:24) npm error at async loadESM (node:internal/process/esm_loader:34:7) npm error at async handleMainPromise (node:internal/modules/run_main:106:12) { npm error code: 'ERR_INVALID_ARG_TYPE' npm error } npm error npm error Node.js v18.20.5 npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-12-10T22_36_52_180Z-debug-0.log ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ Module.npmInstall src/main/lib/run-npm.mjs:57:3 ❯ Module.importOrLocal src/main/lib/import-or-local.mjs:25:5 ❯ Module.createApp src/main/generate.mjs:85:19 ❯ test/main/update-app.test.mjs:66:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /usr/local/bin/npm install @platformatic/runtime', command: '/usr/local/bin/npm install @platformatic/runtime', escapedCommand: '"/usr/local/bin/npm" install "@platformatic/runtime"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'npm warn EBADENGINE Unsupported engine {\nnpm warn EBADENGINE package: \'[email protected]\',\nnpm warn EBADENGINE required: { node: \'>=20.18.1\' },\nnpm warn EBADENGINE current: { node: \'v18.20.5\', npm: \'10.8.2\' }\nnpm warn EBADENGINE }\nnpm error code 1\nnpm error path /tmp/plat-app-test-createxwzeyX/testapp/node_modules/thread-cpu-usage\nnpm error command failed\nnpm error command sh -c node scripts/install.js\nnpm error node:internal/errors:496\nnpm error ErrorCaptureStackTrace(err);\nnpm error ^\nnpm error\nnpm error TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined\nnpm error at new NodeError (node:internal/errors:405:5)\nnpm error at validateString (node:internal/validators:162:11)\nnpm error at resolve (node:path:1097:7)\nnpm error at file:///tmp/plat-app-test-createxwzeyX/testapp/node_modules/thread-cpu-usage/lib/utils.js:8:26\nnpm error at ModuleJob.run (node:internal/modules/esm/module_job:195:25)\nnpm error at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)\nnpm error at async loadESM (node:internal/process/esm_loader:34:7)\nnpm error at async handleMainPromise (node:internal/modules/run_main:106:12) {\nnpm error code: \'ERR_INVALID_ARG_TYPE\'\nnpm error }\nnpm error\nnpm error Node.js v18.20.5\nnpm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-12-10T22_36_52_180Z-debug-0.log', failed: true, timedOut: false, isCanceled: false, killed: false }
test/main/update-app.test.mjs > Create app then update it, changing the entrypoint: node_modules/execa/index.js#L118
Error: Command failed with exit code 1: /usr/local/bin/npm install @platformatic/runtime npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '>=20.18.1' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm error code 1 npm error path /tmp/plat-app-test-createu6GlFi/testapp/node_modules/thread-cpu-usage npm error command failed npm error command sh -c node scripts/install.js npm error node:internal/errors:496 npm error ErrorCaptureStackTrace(err); npm error ^ npm error npm error TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined npm error at new NodeError (node:internal/errors:405:5) npm error at validateString (node:internal/validators:162:11) npm error at resolve (node:path:1097:7) npm error at file:///tmp/plat-app-test-createu6GlFi/testapp/node_modules/thread-cpu-usage/lib/utils.js:8:26 npm error at ModuleJob.run (node:internal/modules/esm/module_job:195:25) npm error at async ModuleLoader.import (node:internal/modules/esm/loader:337:24) npm error at async loadESM (node:internal/process/esm_loader:34:7) npm error at async handleMainPromise (node:internal/modules/run_main:106:12) { npm error code: 'ERR_INVALID_ARG_TYPE' npm error } npm error npm error Node.js v18.20.5 npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-12-10T22_36_57_959Z-debug-0.log ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ Module.npmInstall src/main/lib/run-npm.mjs:57:3 ❯ Module.importOrLocal src/main/lib/import-or-local.mjs:25:5 ❯ Module.createApp src/main/generate.mjs:85:19 ❯ test/main/update-app.test.mjs:136:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /usr/local/bin/npm install @platformatic/runtime', command: '/usr/local/bin/npm install @platformatic/runtime', escapedCommand: '"/usr/local/bin/npm" install "@platformatic/runtime"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'npm warn EBADENGINE Unsupported engine {\nnpm warn EBADENGINE package: \'[email protected]\',\nnpm warn EBADENGINE required: { node: \'>=20.18.1\' },\nnpm warn EBADENGINE current: { node: \'v18.20.5\', npm: \'10.8.2\' }\nnpm warn EBADENGINE }\nnpm error code 1\nnpm error path /tmp/plat-app-test-createu6GlFi/testapp/node_modules/thread-cpu-usage\nnpm error command failed\nnpm error command sh -c node scripts/install.js\nnpm error node:internal/errors:496\nnpm error ErrorCaptureStackTrace(err);\nnpm error ^\nnpm error\nnpm error TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined\nnpm error at new NodeError (node:internal/errors:405:5)\nnpm error at validateString (node:internal/validators:162:11)\nnpm error at resolve (node:path:1097:7)\nnpm error at file:///tmp/plat-app-test-createu6GlFi/testapp/node_modules/thread-cpu-usage/lib/utils.js:8:26\nnpm error at ModuleJob.run (node:internal/modules/esm/module_job:195:25)\nnpm error at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)\nnpm error at async loadESM (node:internal/process/esm_loader:34:7)\nnpm error at async handleMainPromise (node:internal/modules/run_main:106:12) {\nnpm error code: \'ERR_INVALID_ARG_TYPE\'\nnpm error }\nnpm error\nnpm error Node.js v18.20.5\nnpm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-12-10T22_36_57_959Z-debug-0.log', failed: true, timedOut: false, isCanceled: false, killed: false }
test/main/upgrade-plt.test.mjs > upgrade a platformatic runtime: node_modules/execa/index.js#L118
Error: Command failed with exit code 1: /usr/local/bin/npm install npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: '[email protected]', npm warn EBADENGINE required: { node: '>=20.18.1' }, npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' } npm warn EBADENGINE } npm error code 1 npm error path /tmp/plat-app-testhCTdjH/node_modules/thread-cpu-usage npm error command failed npm error command sh -c node scripts/install.js npm error node:internal/errors:496 npm error ErrorCaptureStackTrace(err); npm error ^ npm error npm error TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined npm error at new NodeError (node:internal/errors:405:5) npm error at validateString (node:internal/validators:162:11) npm error at resolve (node:path:1097:7) npm error at file:///tmp/plat-app-testhCTdjH/node_modules/thread-cpu-usage/lib/utils.js:8:26 npm error at ModuleJob.run (node:internal/modules/esm/module_job:195:25) npm error at async ModuleLoader.import (node:internal/modules/esm/loader:337:24) npm error at async loadESM (node:internal/process/esm_loader:34:7) npm error at async handleMainPromise (node:internal/modules/run_main:106:12) { npm error code: 'ERR_INVALID_ARG_TYPE' npm error } npm error npm error Node.js v18.20.5 npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-12-10T22_37_53_129Z-debug-0.log ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ Module.npmInstall src/main/lib/run-npm.mjs:57:3 ❯ Module.upgradePlt src/main/lib/upgrade-plt.mjs:39:3 ❯ test/main/upgrade-plt.test.mjs:38:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /usr/local/bin/npm install', command: '/usr/local/bin/npm install', escapedCommand: '"/usr/local/bin/npm" install', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'npm warn EBADENGINE Unsupported engine {\nnpm warn EBADENGINE package: \'[email protected]\',\nnpm warn EBADENGINE required: { node: \'>=20.18.1\' },\nnpm warn EBADENGINE current: { node: \'v18.20.5\', npm: \'10.8.2\' }\nnpm warn EBADENGINE }\nnpm error code 1\nnpm error path /tmp/plat-app-testhCTdjH/node_modules/thread-cpu-usage\nnpm error command failed\nnpm error command sh -c node scripts/install.js\nnpm error node:internal/errors:496\nnpm error ErrorCaptureStackTrace(err);\nnpm error ^\nnpm error\nnpm error TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined\nnpm error at new NodeError (node:internal/errors:405:5)\nnpm error at validateString (node:internal/validators:162:11)\nnpm error at resolve (node:path:1097:7)\nnpm error at file:///tmp/plat-app-testhCTdjH/node_modules/thread-cpu-usage/lib/utils.js:8:26\nnpm error at ModuleJob.run (node:internal/modules/esm/module_job:195:25)\nnpm error at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)\nnpm error at async loadESM (node:internal/process/esm_loader:34:7)\nnpm error at async handleMainPromise (node:internal/modules/run_main:106:12) {\nnpm error code: \'ERR_INVALID_ARG_TYPE\'\nnpm error }\nnpm error\nnpm error Node.js v18.20.5\nnpm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-12-10T22_37_53_129Z-debug-0.log', failed: true, timedOut: false, isCanceled: false, killed: false }
test
Process completed with exit code 1.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636