Hunlongyu / ZY-Player

▶️ 跨平台桌面端视频资源播放器.简洁无广告.免费高颜值. 🎞

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

无法正常安装DNS

mingming-ctr opened this issue · comments

无法正常安装DNS

ZLMWTM`~@ZR5SDK$1XWW%AP
node.都没有办法确定一个可以使用的版本

这里提示需要安装DNS,
下面提示要安装DNS

PS C:\work\ZY-Player> yarn run serve
yarn run v1.22.19
$ vue-cli-service serve
INFO Starting development server...
10% building 2/2 modules 0 active(node:6908) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use node --trace-deprecation ... to show where the warning was created)
40% building 89/136 modules 47 active C:\work\ZY-Player\node_modules\element-ui\lib\dialog.jsBrowserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
98% after emitting CopyPlugin

ERROR Failed to compile with 3 errors 09:33:33

These dependencies were not found:

  • dns in ./node_modules/electron-proxy-agent/node_modules/socks-proxy-agent/socks-proxy-agent.js, ./node_modules/socks-proxy-agent/dist/index.js
  • remote in ./node_modules/electron-proxy-agent/index.js

To install them, you can run: npm install --save dns remote

重现
1.win10pro系统,补丁达到2022/6/24日
2.获取你最新的源码,安装node-v16.15.1-x64.
3.安装yarn
4.yarn更新软件包
5.yarn run serve
提示要安装DNS
6.npm install dns
提示安装nodejs不符合安装条件
dns内部要求的组件互相冲突