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
If I install let's say is-even in project A and project B, they are hard-linked as expected. If I then I go to project A and modify node_modules/is-even/package.json I can go to project B and see the changes there too.
My question is, how can I restore this modification? I tried yarn install, yarn install --check-cache, yarn install --immutable but nothing errors out or reverts the change. The only thing that worked for me was to rm -rf node_modules in either project and run yarn install again, but this seems like not the right way to go about it. What am I missing?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How can I repair the store after modifying it?
Some context: I'm using the following
.yarnrc.yml
in two projects, project A and project B, on macOS.Running yarn
3.3.1
If I install let's say
is-even
in project A and project B, they are hard-linked as expected. If I then I go to projectA
and modifynode_modules/is-even/package.json
I can go to projectB
and see the changes there too.My question is, how can I restore this modification? I tried
yarn install
,yarn install --check-cache
,yarn install --immutable
but nothing errors out or reverts the change. The only thing that worked for me was torm -rf node_modules
in either project and runyarn install
again, but this seems like not the right way to go about it. What am I missing?Beta Was this translation helpful? Give feedback.
All reactions