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
Experimenting with knip on a project but I'm getting this errory when trying to run yarn run knip
yarn run knip
C:\Users\user\project\node_modules\knip\node_modules\picomatch\lib\picomatch.js:47 throw new TypeError('Expected pattern to be a non-empty string'); ^
if i run it with --debug i get this:
--debug
{ cwd: 'C:/Users/user/project', tsConfigFile: undefined, gitignore: true, isDebug: true, isProduction: false, isStrict: false, isShowProgress: false, isIncludeEntryExports: false, isIncludeLibs: false, isIsolateWorkspaces: false, isWatch: false, tags: [ [], [] ], isFix: false, fixTypes: [], isRemoveFiles: false }
The tsConfigFile is undefined for some reason so i ran yarn run knip --tsConfig ./tsconfig.json
tsConfigFile
yarn run knip --tsConfig ./tsconfig.json
But the issue persists
The text was updated successfully, but these errors were encountered:
Please provide an actual reproduction of the issue: https://knip.dev/guides/troubleshooting#minimal-reproduction
Btw, tsConfigFile is undefined, but still uses the default tsconfig.json if exists.
tsconfig.json
Sorry, something went wrong.
No branches or pull requests
Experimenting with knip on a project but I'm getting this errory when trying to run
yarn run knip
if i run it with
--debug
i get this:The
tsConfigFile
is undefined for some reason so i ranyarn run knip --tsConfig ./tsconfig.json
But the issue persists
The text was updated successfully, but these errors were encountered: