➤ YN0028: The lockfile would have been created by this install, which is explicitly forbidden #534
-
Hi, I have created a new library via command
My I've tried previous versions of Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey I've found this stack overflow issue and they suggest running I think you can try to set the ENV value as they are recommending on the SO issue. |
Beta Was this translation helpful? Give feedback.
-
"The lockfile would have been modified by this install, which is explicitly forbidden" QUICK SOLUTION: Delete/Move your yarn.lock and commit without it. Your commit will be accepted. Then you can restore your yarn.lock |
Beta Was this translation helpful? Give feedback.
Hey
I've found this stack overflow issue and they suggest running
yarn config get enableImmutableInstalls
, which outputsfalse
for me and I don't have any issues installing packages.I think you can try to set the ENV value as they are recommending on the SO issue.