editable icon indicating copy to clipboard operation
editable copied to clipboard

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

Open HAY0526 opened this issue 11 months ago • 3 comments

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!)

HAY0526 avatar Mar 26 '24 08:03 HAY0526

把 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: @.***>

big-camel avatar Mar 26 '24 08:03 big-camel

把 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项目呢?非常感谢感谢

HAY0526 avatar Mar 26 '24 08:03 HAY0526

项目B------------------------------------------------------------------ @.> 日 期:2024年03月26日 16:54:41 @.> @.>; @.> 主 题:Re: [editablejs/editable] A和B是两个单独的工程,其中A项目依赖了yjs库,B项目也依赖了yjs库,同时A又依赖了B,然后A项目跑起来后控制台会提示Yjs was already imported.大佬,这种问题有什么解决方案吗? (Issue #173)

把 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项目呢?非常感谢感谢 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.>

big-camel avatar Mar 26 '24 13:03 big-camel