正在安装 vue,怎么这么多废弃包?

2020-09-12 15:09:17 +08:00
 azev
是我操作的不对吗?

published 2 days ago by soda <haoqunjiang+npm@gmail.com>
wei@MacBook-Pro demo1 % npm i @vue/cli
npm WARN deprecated @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' ( https://github.com/sideway/joi/issues/2411)
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/topo@3.1.6: 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/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
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.
⸨ ░░░░░░░░░░░░░░░░░⸩ ⠼ loadDep:url-to-options: sill resolveWithNewModule strip-outer@1.0.1 checking installabl
2447 次点击
所在节点    问与答
1 条回复
azev
2020-09-12 15:20:45 +08:00
安装完了 看来不是这么多 原来是安装了 1322 个包。
这几个提示是什么意思呢 我在一个空目录下安装 vue-cli
Thank you for installing EJS: built with the Jake JavaScript build tool ( https://jakejs.com/)

npm WARN saveError ENOENT: no such file or directory, open '/Users/wei/work/demo/vue/demo1/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/Users/wei/work/demo/vue/demo1/package.json'
npm WARN @vue/compiler-sfc@3.0.0-rc.10 requires a peer of vue@3.0.0-rc.10 but none is installed. You must install peer dependencies yourself.
npm WARN demo1 No description

还要安装个 vue@3.0.0-rc.10 ? 我看这个 cli 的依赖里有 vue 了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/706387

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX