xdlumia / vue3-video-play

适用于 Vue3 的 hls.js 播放器组件,配置丰富,界面还算好看
https://codelife.cc/vue3-video-play/
609 stars 101 forks source link

Failed to resolve entry for package "vue3-video-play" #139

Open xuepengdong opened 9 months ago

xuepengdong commented 9 months ago

✘ [ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "vue3-video-play". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "vue3-video-play". The package may have incorrect main/module/exports specified in its package.json.

node_modules/vite/dist/node/chunks/dep-6e2fe41e.js:40970:10:
  40970 │     throw new Error(`Failed to resolve entry for package "${id}". ` +
        ╵           ^
SenRanja commented 9 months ago

hello , Sure there is a problem with "vue3-video-play"'s module internally because of its wrong filename. you can change to the correct filename following me, and finally you will get the right import. Weixin Image_20231228172748

xuepengdong commented 9 months ago

你好,肯定是“vue3-video-play”模块就会内部存在问题,因为它的文件名错误。你可以跟着我改成正确的文件名,最后你就得到了正确的导入。 微信图片_20231228172748 Okay, I'll give it a try

prometheus-alien commented 9 months ago

hello , Sure there is a problem with "vue3-video-play"'s module internally because of its wrong filename. you can change to the correct filename following me, and finally you will get the right import. Weixin Image_20231228172748

谢谢,好人一生平安

xiyouxiyouxi commented 8 months ago

好人一生平安

Agree-linyu commented 6 months ago

npm run serve没问题了,npm run build又不行...