convert to typescript #285
Annotations
4 errors
Run make lint test:
index.test.ts#L35
ExecaError: Command failed with exit code 1: node dist/index.js -v
node:internal/modules/cjs/loader:1189\r
throw err;\r
^\r
\r
Error: Cannot find module 'D:\a\versions\versions\dist\index.js'\r
at Module._resolveFilename (node:internal/modules/cjs/loader:1186:15)\r
at Module._load (node:internal/modules/cjs/loader:1012:27)\r
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:158:12)\r
at node:internal/main/run_main_module:30:49 {\r
code: 'MODULE_NOT_FOUND',\r
requireStack: []\r
}\r
\r
Node.js v22.2.0
❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/execa/lib/return/result.js:86:16
❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:164:4
❯ handlePromise node_modules/execa/lib/methods/main-async.js:148:17
❯ index.test.ts:35:30
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node dist/index.js -v', command: 'node dist/index.js -v', escapedCommand: 'node dist/index.js -v', cwd: 'D:\a\versions\versions', durationMs: 71.1131, failed: true, timedOut: false, isCanceled: false, isTerminated: false, isMaxBuffer: false, exitCode: 1, stdout: '', stderr: 'node:internal/modules/cjs/loader:1189\r\n throw err;\r\n ^\r\n\r\nError: Cannot find module \'D:\a\versions\versions\dist\index.js\'\r\n at Module._resolveFilename (node:internal/modules/cjs/loader:1186:15)\r\n at Module._load (node:internal/modules/cjs/loader:1012:27)\r\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:158:12)\r\n at node:internal/main/run_main_module:30:49 {\r\n code: \'MODULE_NOT_FOUND\',\r\n requireStack: []\r\n}\r\n\r\nNode.js v22.2.0', stdio: [ undefined, '', 'node:internal/modules/cjs/loader:1189\r\n throw err;\r\n ^\r\n\r\nError: Cannot find module \'D:\a\versions\versions\dist\index.js\'\r\n at Module._resolveFilename (node:internal/modules/cjs/loader:1186:15)\r\n at Module._load (node:internal/modules/cjs/loader:1012:27)\r\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:158:12)\r\n at node:internal/main/run_main_module:30:49 {\r\n code: \'MODULE_NOT_FOUND\',\r\n requireStack: []\r\n}\r\n\r\nNode.js v22.2.0' ], pipedFrom: [] }
|
Run make lint test:
index.test.ts#L62
ExecaError: Command failed with exit code 1: "node dist/index.js --date --base 12.0.2 --gitless patch testfile"
node:internal/modules/cjs/loader:1189\r
throw err;\r
^\r
\r
Error: Cannot find module 'D:\a\versions\versions\dist\index.js'\r
at Module._resolveFilename (node:internal/modules/cjs/loader:1186:15)\r
at Module._load (node:internal/modules/cjs/loader:1012:27)\r
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:158:12)\r
at node:internal/main/run_main_module:30:49 {\r
code: 'MODULE_NOT_FOUND',\r
requireStack: []\r
}\r
\r
Node.js v22.2.0
❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/execa/lib/return/result.js:86:16
❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:164:4
❯ handlePromise node_modules/execa/lib/methods/main-async.js:148:17
❯ run index.test.ts:62:10
❯ index.test.ts:78:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: "node dist/index.js --date --base 12.0.2 --gitless patch testfile"', command: 'node dist/index.js --date --base 12.0.2 --gitless patch testfile', escapedCommand: '"node dist/index.js --date --base 12.0.2 --gitless patch testfile"', cwd: 'D:\a\versions\versions', durationMs: 68.2605, failed: true, timedOut: false, isCanceled: false, isTerminated: false, isMaxBuffer: false, exitCode: 1, stdout: '', stderr: 'node:internal/modules/cjs/loader:1189\r\n throw err;\r\n ^\r\n\r\nError: Cannot find module \'D:\a\versions\versions\dist\index.js\'\r\n at Module._resolveFilename (node:internal/modules/cjs/loader:1186:15)\r\n at Module._load (node:internal/modules/cjs/loader:1012:27)\r\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:158:12)\r\n at node:internal/main/run_main_module:30:49 {\r\n code: \'MODULE_NOT_FOUND\',\r\n requireStack: []\r\n}\r\n\r\nNode.js v22.2.0', stdio: [ undefined, '', 'node:internal/modules/cjs/loader:1189\r\n throw err;\r\n ^\r\n\r\nError: Cannot find module \'D:\a\versions\versions\dist\index.js\'\r\n at Module._resolveFilename (node:internal/modules/cjs/loader:1186:15)\r\n at Module._load (node:internal/modules/cjs/loader:1012:27)\r\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:158:12)\r\n at node:internal/main/run_main_module:30:49 {\r\n code: \'MODULE_NOT_FOUND\',\r\n requireStack: []\r\n}\r\n\r\nNode.js v22.2.0' ], pipedFrom: [] }
|
Run make lint test:
index.test.ts#L62
ExecaError: Command failed with exit code 1: "node dist/index.js minor --gitless --date --base 1.0.2 pyproject.toml"
node:internal/modules/cjs/loader:1189\r
throw err;\r
^\r
\r
Error: Cannot find module 'D:\a\versions\versions\dist\index.js'\r
at Module._resolveFilename (node:internal/modules/cjs/loader:1186:15)\r
at Module._load (node:internal/modules/cjs/loader:1012:27)\r
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:158:12)\r
at node:internal/main/run_main_module:30:49 {\r
code: 'MODULE_NOT_FOUND',\r
requireStack: []\r
}\r
\r
Node.js v22.2.0
❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/execa/lib/return/result.js:86:16
❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:164:4
❯ handlePromise node_modules/execa/lib/methods/main-async.js:148:17
❯ run index.test.ts:62:10
❯ index.test.ts:108:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: "node dist/index.js minor --gitless --date --base 1.0.2 pyproject.toml"', command: 'node dist/index.js minor --gitless --date --base 1.0.2 pyproject.toml', escapedCommand: '"node dist/index.js minor --gitless --date --base 1.0.2 pyproject.toml"', cwd: 'D:\a\versions\versions', durationMs: 62.2043, failed: true, timedOut: false, isCanceled: false, isTerminated: false, isMaxBuffer: false, exitCode: 1, stdout: '', stderr: 'node:internal/modules/cjs/loader:1189\r\n throw err;\r\n ^\r\n\r\nError: Cannot find module \'D:\a\versions\versions\dist\index.js\'\r\n at Module._resolveFilename (node:internal/modules/cjs/loader:1186:15)\r\n at Module._load (node:internal/modules/cjs/loader:1012:27)\r\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:158:12)\r\n at node:internal/main/run_main_module:30:49 {\r\n code: \'MODULE_NOT_FOUND\',\r\n requireStack: []\r\n}\r\n\r\nNode.js v22.2.0', stdio: [ undefined, '', 'node:internal/modules/cjs/loader:1189\r\n throw err;\r\n ^\r\n\r\nError: Cannot find module \'D:\a\versions\versions\dist\index.js\'\r\n at Module._resolveFilename (node:internal/modules/cjs/loader:1186:15)\r\n at Module._load (node:internal/modules/cjs/loader:1012:27)\r\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:158:12)\r\n at node:internal/main/run_main_module:30:49 {\r\n code: \'MODULE_NOT_FOUND\',\r\n requireStack: []\r\n}\r\n\r\nNode.js v22.2.0' ], pipedFrom: [] }
|
Run make lint test
Process completed with exit code 1.
|
Loading