-
-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Hi,
vue-mention
specifies floating-vue@^2.0.0-beta.1
as a peer dependency, so when I try to install the latest version of floating-vue
, npm
returns the following error:
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: my-project@0.0.0
npm error Found: floating-vue@5.2.2
npm error node_modules/floating-vue
npm error floating-vue@"^5.2.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer floating-vue@"^2.0.0-beta.1" from vue-mention@2.0.0-alpha.3
npm error node_modules/vue-mention
npm error vue-mention@"^2.0.0-alpha.3" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
I bypassed the dependency check using --force
and noticed that vue-mention@2.0.0-alpha.3
continues to work (a least on my project) with floating-vue@5.2.2
.
However, I get the following error in Firefox's developer console:
Uncaught (in promise) TypeError: currentRenderingInstance is null
renderSlot runtime-core.esm-bundler.js:2961
_sfc_render vue-mention.es.js:430
renderComponentRoot chunk-U3LI7FBV.js:8581
componentUpdateFn chunk-U3LI7FBV.js:7403
run chunk-U3LI7FBV.js:481
setupRenderEffect chunk-U3LI7FBV.js:7538
mountComponent chunk-U3LI7FBV.js:7313
processComponent chunk-U3LI7FBV.js:7266
patch chunk-U3LI7FBV.js:6782
mountChildren chunk-U3LI7FBV.js:7014
runtime-core.esm-bundler.js:2961:6
I'm using vue@3.5.13
and vite@6.3.4
.
Note
I did not get any error in Chrome; I only got it in Firefox, and I didn't try any other browser.
Let me know if I can help you with this issue.
Best regards,
Benoit
sfajon, AndrewMoore10 and j4kim
Metadata
Metadata
Assignees
Labels
No labels