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
无法正常安装DNS
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-dbWhy 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:
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内部要求的组件互相冲突