Skip to content

error: No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "normalizeClass" #458

@ligaoqi2

Description

@ligaoqi2

Describe the bug

When I use the videojs-player-1.0.0, this error occurs.
error: No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "normalizeClass"

Reproduction

01:08:49 [vite] new dependencies found: @videojs-player/vue, updating...

node_modules/.store/@videojs-player+vue@1.0.0/node_modules/@videojs-player/vue/dist/videojs-player.esm.js:1:118: error: No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "normalizeClass"
1 │ ...nent as e,toRaw as n,shallowRef as t,computed as r,ref as o,readonly as a,onMounted as i,watch as u,normalizeClass as c,onBeforeUnmount as l,h as s}from"vue";import p from"video.js";function g(e,n){var t={};for(var...
╵ ~~~~~~~~~~~~~~
at runOnEndCallbacks (D:\ParkinsonWebServer\AI_Parkinson\node_modules\esbuild\lib\main.js:921:63)
at buildResponseToResult (D:\ParkinsonWebServer\AI_Parkinson\node_modules\esbuild\lib\main.js:1129:7)
at D:\ParkinsonWebServer\AI_Parkinson\node_modules\esbuild\lib\main.js:1236:14
at D:\ParkinsonWebServer\AI_Parkinson\node_modules\esbuild\lib\main.js:609:9
at handleIncomingPacket (D:\ParkinsonWebServer\AI_Parkinson\node_modules\esbuild\lib\main.js:706:9)
at Socket.readFromStdout (D:\ParkinsonWebServer\AI_Parkinson\node_modules\esbuild\lib\main.js:576:7)
at Socket.emit (node:events:526:28)
at addChunk (node:internal/streams/readable:315:12)

System Info

Vue-3.1.2
video.js-7.15.4
@types/video.js-7.3.53
Both chrome and edge

Used Package Manager

npm

Validations

  • Read the the documentation in detail.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions