终端执行npm install -g @vue/cli的时候报错,我具体看了下具体的报错内容,@hapi/joi这个也不知道是干啥的,npm提示它版本过期了,我从网上找了半天说什么清缓存之类的都不好使,依然有这些提示,我甚至尝试了npm uninstall -g @hapi/joi 提示依然不变。。。请大神指点一二。谢谢。
npm WARN deprecated @hapi/joi@15.1.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/re...
npm WARN deprecated @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/res...
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/uri...
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
/usr/local/bin/vue -> /usr/local/lib/node_modules/@vue/cli/bin/vue.js
- @vue/cli@4.4.6
问题描述
问题出现的环境背景及自己尝试过哪些方法
相关代码
粘贴代码文本(请勿用截图)
并没有报错啊,都是警告,忽略就完了。
这个是做参数验证的一个库,可能 Vue 里依赖的某个库又依赖了它吧。