Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] In a monorepo project, Plasmo as a submodule cannot utilize the React package within the main project. #934

Open
2 of 3 tasks
cavey1230 opened this issue Apr 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cavey1230
Copy link

What happened?

Plasmo as a submodule cannot utilize the React package within the main project.

Version

Latest

What OS are you seeing the problem on?

MacOSX

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

(OPTIONAL) Contribution

  • I would like to fix this BUG via a PR

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.
@cavey1230 cavey1230 added the bug Something isn't working label Apr 9, 2024
@cavey1230
Copy link
Author

To resolve this, React needs to be explicitly installed in the submodule.

@cavey1230
Copy link
Author

Specifying peer dependencies can also resolve this issue, but it cannot follow the version of the main package and requires manual maintenance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant