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
{{ message }}
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
To pick up a draggable item, press the space bar.
While dragging, use the arrow keys to move the item.
Press space again to drop the item in its new position, or press escape to cancel.
The underlying problem is yarn searching parent directories for package.json files. Note that ignoring yarn warnings will not solve this issue as a malformed json will trigger a yarn error.
Your reproduction steps are insufficient to reproduce the problem. To reproduce the problem, before step 3, write {} to a package.json file in any parent directory (the user home directory, for example).
To fix the issue on an individual basis, find and remove the offending package.json by traversing parent directories.
Activity
TCB13 commentedon Nov 18, 2023
+1
techchrism commentedon Nov 20, 2023
This is an issue in Insomnia as well.
The underlying problem is yarn searching parent directories for
package.json
files. Note that ignoring yarn warnings will not solve this issue as a malformed json will trigger a yarn error.Your reproduction steps are insufficient to reproduce the problem. To reproduce the problem, before step 3, write
{}
to apackage.json
file in any parent directory (the user home directory, for example).To fix the issue on an individual basis, find and remove the offending
package.json
by traversing parent directories.fix: prevent yarn directory traversal on plugin installation
joe-gre commentedon Nov 20, 2023
Thanks you're right, there was a package.json file in my user directory for some reason. I deleted it and am now able to install plugins.