Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 tasks done
ligaoqi2 opened this issue Oct 5, 2023 · 0 comments

Comments

@ligaoqi2
Copy link

ligaoqi2 commented Oct 5, 2023

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/@[email protected]/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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant