We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing knip@0.13.1 with yarn prints the following:
knip@0.13.1
yarn
YN0002: │ knip@npm:0.13.1 doesn't provide esbuild (peefd7), requested by esbuild-register
And as expected, it fails to run:
node:internal/modules/cjs/loader:995 const err = new Error(message); ^ Error: Cannot find module 'esbuild' Require stack: - /home/dev/knip-test/node_modules/esbuild-register/dist/node.js at Module._resolveFilename (node:internal/modules/cjs/loader:995:15) at Module._load (node:internal/modules/cjs/loader:841:27) at Module.require (node:internal/modules/cjs/loader:1061:19) at require (node:internal/modules/cjs/helpers:103:18) at Object.<anonymous> (/home/dev/knip-test/node_modules/esbuild-register/dist/node.js:4622:16) at Module._compile (node:internal/modules/cjs/loader:1159:14) at Module._compile (/home/dev/knip-test/node_modules/pirates/lib/index.js:136:24) at Module._extensions..js (node:internal/modules/cjs/loader:1213:10) at Object.newLoader [as .js] (/home/dev/knip-test/node_modules/pirates/lib/index.js:141:7) at Module.load (node:internal/modules/cjs/loader:1037:32) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/dev/knip-test/node_modules/esbuild-register/dist/node.js' ] }
The text was updated successfully, but these errors were encountered:
Any chance you could open a PR and add the esbuild dependency?
esbuild
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Installing
knip@0.13.1
withyarn
prints the following:And as expected, it fails to run:
The text was updated successfully, but these errors were encountered: