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
function getPackageResolution({ packageDetails, packageManager, appPath, appPackageJson, }) { // ... if (declaredVersion.startsWith('file:')) {
patch-package jest-snapshot patch-package 6.4.14 • Creating temporary folder /home/user/.local/share/pnpm/global/5/.pnpm/@[email protected]/node_modules/@milahu/patch-package/dist/makePatch.js:435 throw e; ^ TypeError: Cannot read properties of undefined (reading 'startsWith') at getPackageResolution (/home/user/.local/share/pnpm/global/5/.pnpm/@[email protected]/node_modules/@milahu/patch-package/dist/getPackageResolution.js:34:25) at makePatch (/home/user/.local/share/pnpm/global/5/.pnpm/@[email protected]/node_modules/@milahu/patch-package/dist/makePatch.js:73:81) at /home/user/.local/share/pnpm/global/5/.pnpm/@[email protected]/node_modules/@milahu/patch-package/dist/index.js:73:39
this happens when the package is not installed as top-level dependency
grep jest-snapshot package.json | wc -l 0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
this happens when the package is not installed as top-level dependency
The text was updated successfully, but these errors were encountered: