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

A和B是两个单独的工程,其中A项目依赖了yjs库,B项目也依赖了yjs库,同时A又依赖了B,然后A项目跑起来后控制台会提示Yjs was already imported.大佬,这种问题有什么解决方案吗? #173

Open
HAY0526 opened this issue Mar 26, 2024 · 3 comments
Assignees
Labels

Comments

@HAY0526
Copy link

HAY0526 commented Mar 26, 2024

Problem
A clear and concise description of what the problem is. (Eg. I'm always frustrated when [...])

Solution
A clear and concise description of what you want to happen.

Alternatives
A clear and concise description of any alternative solutions or features you've considered.

Context
Add any other context about the problem here. (The fastest way to have an issue fixed is to create a pull request with working, tested code and we'll help merge it. Editable is solving a pretty complex problem, and we can't do it without active contributors, so thank you so much for your help!)

@big-camel
Copy link
Member

big-camel commented Mar 26, 2024 via email

@HAY0526
Copy link
Author

HAY0526 commented Mar 26, 2024

把 yjs 设成 peerDependencies 最后只装一个yjs------------------------------------------------------------------ @.> 日 期:2024年03月26日 16:14:56 @.> @.>; @.> 主 题:Re: [editablejs/editable] A和B是两个单独的工程,其中A项目依赖了yjs库,B项目也依赖了yjs库,同时A又依赖了B,然后A项目跑起来后控制台会提示Yjs was already imported.大佬,这种问题有什么解决方案吗? (Issue #173) Assigned #173 to @big-camel. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.Message ID: @.***>

设置A项目还是B项目呢?非常感谢感谢

@big-camel
Copy link
Member

big-camel commented Mar 26, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants