Skip to content

When using vite2.9 and vue3.4.9 and above, it throws does not provide an export createBlock ,vue3.4.8 and below is normal. #10177

@zhangyuandai

Description

@zhangyuandai

Vue version

3.4.9 and above

Link to minimal reproduction

https://github.com/tencentyun/TUIRoomKit/tree/main/Electron/vue3

Steps to reproduce

1.Upgrade the vue version to 3.4.9 in the package.json file (the current version of the project is fixed to 3.3.13 for proper operation)
2. pnpm install
3. pnpm run dev

What is expected?

The project runs normally and the console reports no errors

What is actually happening?

The detailed error report is shown below
https://web.sdk.qcloud.com//trtc/webrtc/test/miles-test/image/clipboard_20240122_035231.png

System Info

  System:
    OS: macOS 13.6.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 56.77 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 14.18.2 - ~/emsdk/node/14.18.2_64bit/bin/node
    Yarn: 1.22.21 - ~/emsdk/node/14.18.2_64bit/bin/yarn
    npm: 6.14.15 - ~/emsdk/node/14.18.2_64bit/bin/npm
    pnpm: 7.21.0 - /usr/local/bin/pnpm
  Browsers:
    Chrome: 120.0.6099.234
    Safari: 16.6

Any additional comments?

electron environment.
Besides that, tried 3.4.8 version of vue, it is working fine, upgrading to 3.4.9 will have this problem, so fixed the project version to 3.3.13

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions