Add knip.dev to find unused files / exports / types / duplicates to allow for cleaning up the GraphCommerce codebase #5068
Annotations
1 error
Run codex-/knip-reporter@v1
🧨 Failed: file:///home/runner/work/graphcommerce/graphcommerce/node_modules/knip/dist/util/loader.js:37
throw new LoaderError(`Error loading ${filePath}`, { cause: error });
^
LoaderError: Error loading jsonExt
at load (file:///home/runner/work/graphcommerce/graphcommerce/node_modules/knip/dist/util/loader.js:37:15)
at file:///home/runner/work/graphcommerce/graphcommerce/node_modules/knip/dist/util/reporter.js:11:17
at Array.map (<anonymous>)
at file:///home/runner/work/graphcommerce/graphcommerce/node_modules/knip/dist/util/reporter.js:8:46 {
[cause]: Error: Cannot find module 'jsonExt'
Require stack:
- /home/runner/work/graphcommerce/graphcommerce/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Function.resolve (node:internal/modules/cjs/helpers:125:19)
at _resolve (/home/runner/work/graphcommerce/graphcommerce/node_modules/jiti/dist/jiti.js:1:251148)
at jiti (/home/runner/work/graphcommerce/graphcommerce/node_modules/jiti/dist/jiti.js:1:253746)
at load (file:///home/runner/work/graphcommerce/graphcommerce/node_modules/knip/dist/util/loader.js:33:26)
at file:///home/runner/work/graphcommerce/graphcommerce/node_modules/knip/dist/util/reporter.js:11:17
at Array.map (<anonymous>)
at file:///home/runner/work/graphcommerce/graphcommerce/node_modules/knip/dist/util/reporter.js:8:46 {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/home/runner/work/graphcommerce/graphcommerce/index.js' ]
}
}
Node.js v18.18.2
|
The logs for this run have expired and are no longer available.
Loading