https://stackblitz.com/edit/github-afjgjdw1?file=README.md,.npmrc,knip.json
if any private (installed via a private login-only registry or vpn-only registry) packages are installed, then knip fails to complete with the following error
(anonymised by replacing package names with placeholders)
Building PLACEHOLDER_NAME in development mode...
Analyzing workspace core...
ERROR: Error loading FOLDER_PATH/core/.storybook/main.ts
Reason: ENOENT: no such file or directory, scandir 'NPM_PATH/@PRIVATE_REGISTRY_ORG_NAME/FILENAME.ts'
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too