-
Notifications
You must be signed in to change notification settings - Fork 298
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
There is a version mismatch between the @embeddedchat/api package in the monorepo and the published version on npm. The monorepo's package.json lists the version as 0.1.2, while the npm registry shows 0.1.3. This is causing issues when using yarn web in the react-native repo, as it fails to detect the local workspace package and instead tries to fetch it from npm.
Steps to reproduce:
- Run yarn web in the monorepo.
- Observe the error: Error: @embeddedchat/api@workspace:^: Workspace not found (@embeddedchat/api@workspace:^).
- Install the package from npm instead (0.1.3), and it works without issues.
Expected behavior:
yarn web should correctly resolve @embeddedchat/api from the monorepo workspace instead of looking for the npm version and start the react-native project
Actual behavior:
Yarn fails to find @embeddedchat/api@workspace:^ and throws an error.
From the above snaps we can observe that the version used in the current api package is deprecated
2025-04-02.23-40-55.mp4
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working