bcakmakoglu / vue-flow

A highly customizable Flowchart component for Vue 3. Features seamless zoom & pan 🔎, additional components like a Minimap 🗺 and utilities to interact with state and graph.

Home Page:https://vueflow.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐛 [BUG]: <title> vue-flow is not hack with uniapp-h5-vue

vanexwh opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues and this is a new bug.

Current Behavior

when I use vue-flow,there is a syntax error shows me (The requested module '/node_modules/@dcloudio/uni-h5-vue/dist/vue.runtime.esm.js' does not provide an export named 'toValue' (at @vue-flow_core.js?v=8e9793bf:4:160). It seems like the uni-h5-vue does not provide 'toValue'.

tips:
@vue-flow/core v1.1.1 - v.1.32.1
@uni-h5-vue v3.0.0-3081220230817001

Expected Behavior

Which version does not use the hook which named 'toValue'?

Steps To Reproduce

No response

Relevant log output

No response

Anything else?

No response

Again, what I said last time you opened this issue.
You give me 0 info to go on (ok this time you gave me that you tried some VueFlow versions).
No reproduction, no code, I don't even know what library that is supposed to be.

In short: Not enough info to help you.
If I had to guess what the problem is: You're using a Vue version <3.3
Update your Vue version to at least 3.3 and see if that helps.

Though - I am really sorry but I will keep closing these issues until you provide me proper info to debug this.

Btw, maybe just join the Discord and open a discussion there, that way we can exchange some info quicker and get you a solution for the problem you're facing here 😄
Discord Link. @vanexwh

Oh, I'm sorry about that.

This is the error details: SyntaxError: The requested module '/node_modules/.pnpm/@dcloudio+uni-h5-vue@3.0.0-3081220230817001_vue@3.4.21/node_modules/@dcloudio/uni-h5-vue/dist/vue.runtime.esm.js' does not provide an export named 'toValue' (at @vue-flow_core.js?v=cd600134:4:160)