如何修复安装VueJS CLI时出现的npm WARN过时错误

pgky5nke  于 2023-01-17  发布在  Vue.js
关注(0)|答案(2)|浏览(186)

我试图在我的Windows 10计算机上安装VueJS CLI,但遇到以下错误:

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/joi@15.1.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained

以下是我的PC设置:

Windows 10
Node: v12.18.2
Npm: 6.14.5
0lvr5msh

0lvr5msh1#

我还有许多未解决的警告,包括@hapi/hoek@hapi/topo

npm audit fix --force

当然,我明白,这并不包括100%的情况。

0aydgbwb

0aydgbwb2#

正在安装Vue Cli

npm安装-g @vue/cli

Yarn全局添加@vue/cli
有关详细信息,请访问安装指南enter link description here

相关问题