You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The patch-package dependency that is causing the error:
"fs-extra": "^9.0.0",
So, to be clear the operation works as expected when the package name is correct. However, if I make a mistake on the name of the package to be patched, it gives this error that suggests something else is wrong.
I hope this helps the next person interpret this error :))
The text was updated successfully, but these errors were encountered:
EdmundsEcho
changed the title
Error creating a patch in a CRA - dependency on fs-extra
Confusing syntax error message when pointing to a package that does not exist
Feb 22, 2024
Thank you for this patch utility.
I'm using the latest (as of today), versions of the patch packages.
Other versions:
node: 18.10.0
yarn: 1.22.21
When I go to create the patch using npx patch-package
<mistaken-reference-to-non-existing-package>
I get the following syntax error:The
patch-package
dependency that is causing the error:So, to be clear the operation works as expected when the package name is correct. However, if I make a mistake on the name of the package to be patched, it gives this error that suggests something else is wrong.
I hope this helps the next person interpret this error :))
The text was updated successfully, but these errors were encountered: