V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
azev
V2EX  ›  问与答

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

  •  
  •   azev · 2020-09-12 15:09:17 +08:00 · 2511 次点击
    这是一个创建于 1563 天前的主题,其中的信息可能已经有所发展或是发生改变。
    是我操作的不对吗?

    published 2 days ago by soda <[email protected]>
    wei@MacBook-Pro demo1 % npm i @vue/cli
    npm WARN deprecated @hapi/[email protected]: joi is leaving the @hapi organization and moving back to 'joi' ( https://github.com/sideway/joi/issues/2411)
    npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
    npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
    npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
    npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
    npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
    npm WARN deprecated [email protected]: this library is no longer supported
    npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
    npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
    npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
    npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
    ⸨ ░░░░░░░░░░░░░░░░░⸩ ⠼ loadDep:url-to-options: sill resolveWithNewModule [email protected] checking installabl
    1 条回复    2020-09-12 15:20:45 +08:00
    azev
        1
    azev  
    OP
       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/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
    npm WARN demo1 No description

    还要安装个 [email protected] ? 我看这个 cli 的依赖里有 vue 了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3495 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 11:06 · PVG 19:06 · LAX 03:06 · JFK 06:06
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.