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: /Users/runner/work/gember/gember/bin/gember.js component foo
node:internal/modules/esm/resolve:257
throw new ERR_MODULE_NOT_FOUND(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/runner/work/gember/gember/dist/cli.js' imported from /Users/runner/work/gember/gember/bin/gember.js
at finalizeResolution (node:internal/modules/esm/resolve:257:11)
at moduleResolve (node:internal/modules/esm/resolve:913:10)
at defaultResolve (node:internal/modules/esm/resolve:1037:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:650:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:599:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:582:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:241:38)
at ModuleJob._link (node:internal/modules/esm/module_job:132:49) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///Users/runner/work/gember/gember/dist/cli.js'
}
Node.js v22.11.0
❯ 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: /Users/runner/work/gember/gember/bin/gember.js component foo', command: '/Users/runner/work/gember/gember/bin/gember.js component foo', escapedCommand: '/Users/runner/work/gember/gember/bin/gember.js component foo', cwd: '/Users/runner/work/gember/gember/test/output/99077d55-34c0-4f39-a14e-b6cd00d24c3f', durationMs: 48.22175, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'node:internal/modules/esm/resolve:257\n throw new ERR_MODULE_NOT_FOUND(\n ^\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'/Users/runner/work/gember/gember/dist/cli.js\' imported from /Users/runner/work/gember/gember/bin/gember.js\n at finalizeResolution (node:internal/modules/esm/resolve:257:11)\n at moduleResolve (node:internal/modules/esm/resolve:913:10)\n at defaultResolve (node:internal/modules/esm/resolve:1037:11)\n at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:650:12)\n at #cachedDefaultResolve (node:internal/modules/esm/loader:599:25)\n at ModuleLoader.resolve (node:internal/modules/esm/loader:582:38)\n at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:241:38)\n at ModuleJob._link (node:internal/modules/esm/module_job:132:49) {\n code: \'ERR_MODULE_NOT_FOUND\',\n url: \'file:///Users/runner/work/gember/gember/dist/cli.js\'\n}\n\nNode.js v22.11.0', stdio: [ undefined, '', 'node:internal/modules/esm/resolve:257\n throw new ERR_MODULE_NOT_FOUND(\n ^\n\nError [ERR_MODULE_NOT_FOUND]: Cannot find module \'/Users/runner/work/gember/gember/dist/cli.js\' imported from /Users/runner/work/gember/gember/bin/gember.js\n at finalizeResolution (node:internal/modules/esm/resolve:257:11)\n at moduleResolve (node:internal/modules/esm/resolve:913:10)\n at defaultResolve (node:internal/modules/esm/resolve:1037:11)\n at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:650:12)\n at #cachedDefaultResolve (node:internal/modules/esm/loader:599:25)\n at ModuleLoader.resolve (node:internal/modules/esm/loader:582:38)\n at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:241:38)\n at ModuleJob._link (node:internal/modules/esm/module_job:132:49) {\n code: \'ERR_MODULE_NOT_FOUND\',\n url: \'file:///Users/runner/work/gember/gember/dist/cli.js\'\n}\n\nNode.js v22.11.0' ], ipcOutput: [], pipedFrom: [] }
|
Run pnpm test:coverage
Process completed with exit code 1.
|
Loading