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
We recently migrated in react-native-reanimated to Yarn 4 and I have some issues with Github Actions that install Reanimated from a given pull request. Before, with Yarn 1 we could do:
➤ YN0001: Error: react-native-reanimated@github:software-mansion/react-native-reanimated#refs/pull/5996/merge: Couldn't resolve "refs/pull/5996/merge" as either a commit, a tag, or a head
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
-
Hi there!
We recently migrated in
react-native-reanimated
to Yarn 4 and I have some issues with Github Actions that install Reanimated from a given pull request. Before, with Yarn 1 we could do:yarn add github:software-mansion/react-native-reanimated#${{ github.ref}}
Which for example would resolve to:
yarn add github:software-mansion/react-native-reanimated#refs/pull/5996/merge
However, with Yarn 4 we are required to prefix the github protocol part with
react-native-reanimated
, getting:yarn add react-native-reanimated@github:software-mansion/react-native-reanimated#refs/pull/5996/merge
Which unfortunately yields:
Funny enough, if I add to package.json manually:
"react-native-reanimated": "github:software-mansion/react-native-reanimated#refs/pull/5996/merge"
Then Yarn has no problem resolving it.
How to install it like this with CLI though?
Beta Was this translation helpful? Give feedback.
All reactions