Support all CLI options in the gember config file #110
Annotations
2 errors
Run pnpm test:coverage:
test/helpers.ts#L47
ExecaError: Command failed with exit code 1: "D:\a\gember\gember\bin\gember.js" component foo
node:internal/modules/esm/resolve:265\r
throw new ERR_MODULE_NOT_FOUND(\r
^\r
\r
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'D:\a\gember\gember\dist\cli.js' imported from D:\a\gember\gember\bin\gember.js\r
at finalizeResolution (node:internal/modules/esm/resolve:265:11)\r
at moduleResolve (node:internal/modules/esm/resolve:933:10)\r
at defaultResolve (node:internal/modules/esm/resolve:1169:11)\r
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)\r
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)\r
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)\r
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)\r
at link (node:internal/modules/esm/module_job:95:36) {\r
code: 'ERR_MODULE_NOT_FOUND',\r
url: 'file:///D:/a/gember/gember/dist/cli.js'\r
}\r
\r
Node.js v20.18.1
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ Module.gember test/helpers.ts:47:3
❯ test/config.test.ts:67:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: "D:\a\gember\gember\bin\gember.js" component foo', command: 'D:\a\gember\gember\bin\gember.js component foo', escapedCommand: '"D:\a\gember\gember\bin\gember.js" component foo', cwd: 'D:\a\gember\gember\test\output\7bdfae14-078e-4eea-a54b-0c5a01e222f4', durationMs: 131.7536, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'node:internal/modules/esm/resolve:265\r\n throw new ERR_MODULE_NOT_FOUND(\r\n ^\r\n\r\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\gember\gember\dist\cli.js\' imported from D:\a\gember\gember\bin\gember.js\r\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\r\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\r\n at defaultResolve (node:internal/modules/esm/resolve:1169:11)\r\n at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)\r\n at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)\r\n at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)\r\n at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)\r\n at link (node:internal/modules/esm/module_job:95:36) {\r\n code: \'ERR_MODULE_NOT_FOUND\',\r\n url: \'file:///D:/a/gember/gember/dist/cli.js\'\r\n}\r\n\r\nNode.js v20.18.1', stdio: [ undefined, '', 'node:internal/modules/esm/resolve:265\r\n throw new ERR_MODULE_NOT_FOUND(\r\n ^\r\n\r\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'D:\a\gember\gember\dist\cli.js\' imported from D:\a\gember\gember\bin\gember.js\r\n at finalizeResolution (node:internal/modules/esm/resolve:265:11)\r\n at moduleResolve (node:internal/modules/esm/resolve:933:10)\r\n at defaultResolve (node:internal/modules/esm/resolve:1169:11)\r\n at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)\r\n at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)\r\n at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)\r\n at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)\r\n at link (node:internal/modules/esm/module_job:95:36) {\r\n code: \'ERR_MODULE_NOT_FOUND\',\r\n url: \'file:///D:/a/gember/gember/dist/cli.js\'\r\n}\r\n\r\nNode.js v20.18.1' ], ipcOutput: [], pipedFrom: [] }
|
Run pnpm test:coverage
Process completed with exit code 1.
|
Loading