Hunlongyu / ZY-Player

▶️ 跨平台桌面端视频资源播放器.简洁无广告.免费高颜值. 🎞
MIT License
14.07k stars 2.25k forks source link

Critical dependency: the request of a dependency is an expression #792

Open miniproboy opened 1 year ago

miniproboy commented 1 year ago

描述错误 清楚简洁地说明错误是什么。 ZY-Player V2.8.8版本代码,执行npm run electron:serve报错,没有运行起来 //-------------------------------------------------------------------------------------- (base) PS E:\data\demo\electron\ZY-Player-2.8.8> npm run electron:serve

zy@2.8.8 electron:serve E:\data\demo\electron\ZY-Player-2.8.8 vue-cli-service electron:serve

INFO Starting development server... 98% after emitting CopyPlugin

WARNING Compiled with 1 warnings 08:32:26

warning in ./node_modules/get-uri/index.js

Critical dependency: the request of a dependency is an expression

App running at:

重现 重现行为的步骤 npm install npm run electron:serve

预期行为 对您期望发生的事情的简洁明了的描述。 没有运行起来

截图 如果适用,请添加屏幕截图以帮助解释您的问题(直接把图片拖到编辑框即可添加图片)。

环境: -操作系统及版本:[例如:Windows 10 64位 18362.156] -软件安装包及版本:[例如:Windows 64位绿色版 1.0.0] Microsoft Windows [版本 10.0.17763.1] 想本地编译运行,没有成功。

其他内容 在此处添加有关该问题的任何其他上下文。

nilarcs commented 1 year ago

delete the yarn.lock file , and try.