当前位置: 首页 > news >正文

node: 安装@vue/cli

一,安装@vue/cli

$ npm install -g @vue/cli
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm warn deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm warn deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
npm warn deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
npm warn deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm warn deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated apollo-datasource@3.3.2: The `apollo-datasource` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm warn deprecated apollo-server-plugin-base@3.7.2: The `apollo-server-plugin-base` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated apollo-server-errors@3.3.1: The `apollo-server-errors` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated apollo-server-types@3.8.0: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated apollo-server-express@3.13.0: The `apollo-server-express` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated apollo-reporting-protobuf@3.4.0: The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated apollo-server-env@4.2.1: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated subscriptions-transport-ws@0.11.0: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws    For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md
npm warn deprecated apollo-server-core@3.13.0: The `apollo-server-core` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated vue@2.7.16: Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details.added 842 packages in 57s89 packages are looking for fundingrun `npm fund` for details

二,查看版本和安装路径:

$ vue --version
@vue/cli 5.0.9
$ whereis vue
vue: /usr/local/bin/vue /home/liuhongdi/.nvm/versions/node/v24.13.0/bin/vue

 

http://www.jsqmd.com/news/338103/

相关文章:

  • 稳定币算法革命:从数学公式到数字货币的“价格锚”
  • Mozilla Firefox 浏览器新增一键禁用生成式 AI 功能选项
  • 2026年市场优秀的法兰生产厂家选哪家,双相钢法兰/压力容器法兰/非标法兰/高温合金法兰/不锈钢法兰,法兰厂家排行 - 品牌推荐师
  • 2026年PEEK材料厂家权威推荐:江苏亨博复合材料有限公司,PEEK纯料/玻纤改性/陶瓷改性/耐磨改性粒子源头精选 - 品牌推荐官
  • application.yml或者yaml文件不显示绿色问题
  • 2026女性专属植发机构十大品牌排名 发际线/高颅顶/鬓角美学种植优选榜 - 极欧测评
  • 基于STM32的天气查询系统设计
  • 跨链收益革命:一站式DeFi资管协议如何重塑加密财富管理?
  • 南京市英语雅思培训机构推荐、2026权威测评出国雅思辅导机构口碑榜单 - 老周说教育
  • 徐州市英语雅思培训机构推荐、2026权威测评出国雅思辅导机构口碑榜单 - 老周说教育
  • 基于STM32的太阳能自动寻光充电系统设计
  • 香港留学中介TOP10测评:港申专项服务与辅导实力解析 - 博客湾
  • 【连续五届EI稳定检索、高录用】第六届物联网与智慧城市国际学术会议(IoTSC 2026)
  • 【VUE】window.open进行post提交 - 谷粒
  • 2026植发1000-5000个毛囊/性价比高/价格实惠优惠的植发机构十大品牌排名推荐 全民信赖榜 - 极欧测评
  • 上海十大留学机构揭秘:打造个人申请竞争力 - 博客湾
  • 实测才敢推!9个AI论文工具深度测评,自考毕业论文写作必备
  • 吐血推荐!9个AI论文平台深度测评,专科生毕业论文写作必备神器
  • 盘点双片钉箱机优质厂家,2026年市场口碑参考,国内热门的双片钉箱机供应商有哪些解析品牌实力与甄选要点 - 品牌推荐师
  • 苏州市英语雅思培训机构推荐:2026权威测评出国雅思辅导机构口碑榜单 - 老周说教育
  • 2026年连续挤压机厂家推荐排行榜:铝扁线/铜材/高速连续挤压机,铝管/铜排挤压生产线专业实力与创新技术深度解析 - 品牌企业推荐师(官方)
  • 乐山市英语雅思培训机构推荐;2026权威测评出国雅思辅导机构口碑榜单 - 老周说教育
  • 文件保密有哪些方法?学会这六个文件保密方法,全方位守护文件安全
  • 三种 Badcase 精度验证便捷的方案详解与 hbm_infer 部署实录
  • 【运维自动化-标准运维】快捷键使用技巧(上)
  • 华清远见第33届高校具身智能机器人师资班圆满落幕,虚拟仿真破局,AI前沿赋能!
  • 徐州市英语雅思培训机构推荐;2026权威测评出国雅思辅导机构口碑榜单 - 老周说教育
  • 学霸同款9个降AI率平台 千笔·降AIGC助手帮你解决论文AI痕迹
  • 元气AI Bot深度评测:手机操控电脑+飞书深度集成的国产智能办公革命 - PC修复电脑医生
  • 详细介绍:Python 高手编程系列一十三:现实例子 — 延迟求值属性