Skip to content

build(deps): bump eslint-plugin-jsdoc from 51.4.1 to 52.0.1 #68

build(deps): bump eslint-plugin-jsdoc from 51.4.1 to 52.0.1

build(deps): bump eslint-plugin-jsdoc from 51.4.1 to 52.0.1 #68

Triggered via pull request July 30, 2025 17:47
Status Failure
Total duration 6m 35s
Artifacts

integration-tests.yml

on: pull_request
Matrix: Vitest Integration Tests
Fit to window
Zoom out
Zoom in

Annotations

30 errors
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS-specific ESLint rules > should allow unary plus operator for type coercion: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1372 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) at Module._load (node:internal/modules/cjs/loader:1179:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v24.4.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:324:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1344.141107, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node:internal/main/run_main_module:33:47 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v24.4.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS-specific ESLint rules > should disable no-floating-promises rule in main.ts: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1372 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) at Module._load (node:internal/modules/cjs/loader:1179:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v24.4.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:291:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1356.817765, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node:internal/main/run_main_module:33:47 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v24.4.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS-specific ESLint rules > should allow empty classes in *.module.ts files: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1372 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) at Module._load (node:internal/modules/cjs/loader:1179:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v24.4.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:264:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1515.880482, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node:internal/main/run_main_module:33:47 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v24.4.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS with Swagger > should pass ESLint when proper Swagger decorators are used: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1372 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) at Module._load (node:internal/modules/cjs/loader:1179:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v24.4.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:180:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1500.867892, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node:internal/main/run_main_module:33:47 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v24.4.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS with Swagger > should fail with default NestJS template when Swagger rules are enforced: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1372 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) at Module._load (node:internal/modules/cjs/loader:1179:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v24.4.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:147:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1024.802903, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node:internal/main/run_main_module:33:47 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v24.4.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS with Swagger > should enforce Swagger-specific rules when @nestjs/swagger is installed: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1372 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) at Module._load (node:internal/modules/cjs/loader:1179:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v24.4.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:106:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1116.636542, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node:internal/main/run_main_module:33:47 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v24.4.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS with Swagger > should use flatRecommended config with Swagger rules when @nestjs/swagger is installed: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1372 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) at Module._load (node:internal/modules/cjs/loader:1179:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v24.4.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:78:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1036.675312, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node:internal/main/run_main_module:33:47 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v24.4.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node:
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS without Swagger > should lint default NestJS template successfully without Swagger: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1372 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) at Module._load (node:internal/modules/cjs/loader:1179:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v24.4.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:48:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1033.839833, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node:internal/main/run_main_module:33:47 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v24.4.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node:
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS without Swagger > should use flatNoSwagger config when @nestjs/swagger is not installed: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm npm warn exec The following package was not found and will be installed: @nestjs/cli@11.0.9 node:internal/modules/cjs/loader:1372 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) at Module._load (node:internal/modules/cjs/loader:1179:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v24.4.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:19:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 10255.71177, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'npm warn exec The following package was not found and will be installed: @nestjs/cli@11.0.9\nnode:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node:internal/main/run_main_module:33:47 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v24.4.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'npm warn exec The following package was not found and will be installed: @nestjs/cli@11.0.9\nnode:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load
tests/integration.test.ts > NestJS Integration Tests > should create a NestJS app and install @solvro/config: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1372 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) at Module._load (node:internal/modules/cjs/loader:1179:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v24.4.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/integration.test.ts:73:21 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1393.767749, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node:internal/main/run_main_module:33:47 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v24.4.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1372\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1369:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)\n at Module._load (node:internal/modules/cjs/loader:1179:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)\n at node:in
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS-specific ESLint rules > should allow unary plus operator for type coercion: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1215 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) at Module._load (node:internal/modules/cjs/loader:1043:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.19.4 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:324:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1414.271154, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m' ], ipcOutput: [], pipedFrom: [] }
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS-specific ESLint rules > should disable no-floating-promises rule in main.ts: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1215 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) at Module._load (node:internal/modules/cjs/loader:1043:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.19.4 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:291:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1742.659465, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m' ], ipcOutput: [], pipedFrom: [] }
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS-specific ESLint rules > should allow empty classes in *.module.ts files: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1215 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) at Module._load (node:internal/modules/cjs/loader:1043:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.19.4 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:264:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1546.909561, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m' ], ipcOutput: [], pipedFrom: [] }
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS with Swagger > should pass ESLint when proper Swagger decorators are used: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1215 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) at Module._load (node:internal/modules/cjs/loader:1043:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.19.4 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:180:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1087.123247, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m' ], ipcOutput: [], pipedFrom: [] }
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS with Swagger > should fail with default NestJS template when Swagger rules are enforced: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1215 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) at Module._load (node:internal/modules/cjs/loader:1043:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.19.4 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:147:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1119.93487, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m' ], ipcOutput: [], pipedFrom: [] }
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS with Swagger > should enforce Swagger-specific rules when @nestjs/swagger is installed: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1215 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) at Module._load (node:internal/modules/cjs/loader:1043:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.19.4 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:106:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1143.077043, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m' ], ipcOutput: [], pipedFrom: [] }
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS with Swagger > should use flatRecommended config with Swagger rules when @nestjs/swagger is installed: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1215 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) at Module._load (node:internal/modules/cjs/loader:1043:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.19.4 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:78:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1106.572615, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m' ], ipcOutput: [], pipedFrom: [] }
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS without Swagger > should lint default NestJS template successfully without Swagger: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1215 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) at Module._load (node:internal/modules/cjs/loader:1043:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.19.4 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:48:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1085.030343, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m' ], ipcOutput: [], pipedFrom: [] }
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS without Swagger > should use flatNoSwagger config when @nestjs/swagger is not installed: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm npm warn exec The following package was not found and will be installed: @nestjs/cli@11.0.9 node:internal/modules/cjs/loader:1215 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) at Module._load (node:internal/modules/cjs/loader:1043:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.19.4 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:19:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 12819.458282, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'npm warn exec The following package was not found and will be installed: @nestjs/cli@11.0.9\nnode:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'npm warn exec The following package was not found and will be installed: @nestjs/cli@11.0.9\nnode:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m' ], ipcOutput: [], pipedFrom: [] }
tests/integration.test.ts > NestJS Integration Tests > should create a NestJS app and install @solvro/config: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1215 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) at Module._load (node:internal/modules/cjs/loader:1043:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.19.4 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/integration.test.ts:73:21 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1593.390288, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1215\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.19.4\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m' ], ipcOutput: [], pipedFrom: [] }
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS-specific ESLint rules > should allow unary plus operator for type coercion: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1404 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22) at Function._load (node:internal/modules/cjs/loader:1211:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:36:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v22.17.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:324:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1395.968046, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)\n at node:internal/main/run_main_module:36:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v22.17.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS-specific ESLint rules > should disable no-floating-promises rule in main.ts: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1404 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22) at Function._load (node:internal/modules/cjs/loader:1211:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:36:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v22.17.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:291:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1487.455102, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)\n at node:internal/main/run_main_module:36:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v22.17.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS-specific ESLint rules > should allow empty classes in *.module.ts files: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1404 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22) at Function._load (node:internal/modules/cjs/loader:1211:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:36:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v22.17.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:264:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1426.007214, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)\n at node:internal/main/run_main_module:36:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v22.17.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS with Swagger > should pass ESLint when proper Swagger decorators are used: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1404 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22) at Function._load (node:internal/modules/cjs/loader:1211:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:36:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v22.17.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:180:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1668.739163, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)\n at node:internal/main/run_main_module:36:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v22.17.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS with Swagger > should fail with default NestJS template when Swagger rules are enforced: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1404 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22) at Function._load (node:internal/modules/cjs/loader:1211:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:36:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v22.17.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:147:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1746.640203, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)\n at node:internal/main/run_main_module:36:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v22.17.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS with Swagger > should enforce Swagger-specific rules when @nestjs/swagger is installed: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1404 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22) at Function._load (node:internal/modules/cjs/loader:1211:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:36:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v22.17.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:106:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1119.938347, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)\n at node:internal/main/run_main_module:36:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v22.17.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS with Swagger > should use flatRecommended config with Swagger rules when @nestjs/swagger is installed: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1404 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22) at Function._load (node:internal/modules/cjs/loader:1211:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:36:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v22.17.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:78:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1060.09849, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)\n at node:internal/main/run_main_module:36:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v22.17.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:1
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS without Swagger > should lint default NestJS template successfully without Swagger: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1404 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22) at Function._load (node:internal/modules/cjs/loader:1211:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:36:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v22.17.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:48:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1134.826396, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)\n at node:internal/main/run_main_module:36:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v22.17.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:
tests/nestjs-preset.test.ts > NestJS Preset Tests > NestJS without Swagger > should use flatNoSwagger config when @nestjs/swagger is not installed: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm npm warn exec The following package was not found and will be installed: @nestjs/cli@11.0.9 node:internal/modules/cjs/loader:1404 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22) at Function._load (node:internal/modules/cjs/loader:1211:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:36:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v22.17.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/nestjs-preset.test.ts:19:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 12852.254904, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'npm warn exec The following package was not found and will be installed: @nestjs/cli@11.0.9\nnode:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)\n at node:internal/main/run_main_module:36:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v22.17.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'npm warn exec The following package was not found and will be installed: @nestjs/cli@11.0.9\nnode:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n
tests/integration.test.ts > NestJS Integration Tests > should create a NestJS app and install @solvro/config: tests/utils/test-environment.ts#L38
ExecaError: Command failed with exit code 1: npx '@nestjs/cli' new nestjs-template -p npm node:internal/modules/cjs/loader:1404 throw err; ^ Error: Cannot find module '/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"' at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22) at Function._load (node:internal/modules/cjs/loader:1211:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:36:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v22.17.1 Failed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts" ✨ We will scaffold your app in a few seconds.. ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ execWithLogging tests/utils/test-environment.ts:38:20 ❯ TestEnvironment.createNestjsApp tests/utils/test-environment.ts:184:7 ❯ tests/integration.test.ts:73:21 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx \'@nestjs/cli\' new nestjs-template -p npm', command: 'npx @nestjs/cli new nestjs-template -p npm', escapedCommand: 'npx \'@nestjs/cli\' new nestjs-template -p npm', cwd: '/tmp/solvro-test-cache', durationMs: 1365.729246, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '✨ We will scaffold your app in a few seconds..\n', stderr: 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)\n at node:internal/main/run_main_module:36:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v22.17.1\n\u001b[31m\u001b[39m\n\u001b[31mFailed to execute command: node @nestjs/schematics:application --name=nestjs-template --directory=undefined --no-dry-run --no-skip-git --no-strict --package-manager="npm" --collection="@nestjs/schematics" --language="ts"\u001b[39m', stdio: [ undefined, '✨ We will scaffold your app in a few seconds..\n', 'node:internal/modules/cjs/loader:1404\n throw err;\n ^\n\nError: Cannot find module \'/tmp/solvro-test-cache/"/home/runner/.npm/_npx/ccf722f030a36e55/node_modules/@angular-devkit/schematics-cli/bin/schematics.js"\'\n at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)\n at Function._load (node:internal/modules/cjs/loader:1211:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:17