青阳_1900
青阳_1900
  • 发布:2021-11-02 12:13
  • 更新:2022-04-23 14:24
  • 阅读:2857

【报Bug】uni-build 能否支持 pnpm,使用 pnpm 管理依赖发现 build 命令失效

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: macOS Big Sur 11.2.3

手机系统: Android

手机系统版本号: Android 12

手机厂商: 小米

手机机型: MI 8

页面类型: nvue

打包方式: 云端

项目创建方式: CLI

CLI版本号: 2.0.0-30720210122001

示例代码:

执行 pnpm run info 如下信息

> hbb_app@2.2.20 info /Users/demo/projects/native_app  
> node node_modules/@dcloudio/vue-cli-plugin-uni/commands/info.js  

uni-app v3.2.11  
uni-app cli v2.0.0-alpha-32920211022004  

Environment Info:  

  System:  
    OS: macOS 12.0.1  
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz  
  Binaries:  
    Node: 16.13.0 - /usr/local/bin/node  
    Yarn: Not Found  
    npm: 8.1.0 - /usr/local/bin/npm  
  Browsers:  
    Chrome: 95.0.4638.69  
    Firefox: Not Found  
    Safari: 15.1  
  npmPackages:  
    @dcloudio/types: ^2.5.8 => 2.5.12  
    @dcloudio/uni-app-plus: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @dcloudio/uni-cli-i18n: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @dcloudio/uni-cli-shared: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @dcloudio/uni-h5: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @dcloudio/uni-helper-json: ^1.0.13 => 1.0.13  
    @dcloudio/uni-i18n: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @dcloudio/uni-migration: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @dcloudio/uni-mp-weixin: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @dcloudio/uni-stat: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @dcloudio/uni-template-compiler: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @dcloudio/uni-ui: ^1.3.9 => 1.4.6  
    @dcloudio/vue-cli-plugin-hbuilderx: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @dcloudio/vue-cli-plugin-uni: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @dcloudio/vue-cli-plugin-uni-optimize: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @dcloudio/webpack-uni-mp-loader: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @dcloudio/webpack-uni-pages-loader: 2.0.0-alpha-32920211022004 => 2.0.0-alpha-32920211022004  
    @vue/cli-plugin-babel: ~4.5.0 => 4.5.15  
    @vue/cli-service: ~4.5.0 => 4.5.15  
    eslint-plugin-vue: ^7.15.2 => 7.20.0  
    vue: ^2.6.11 => 2.6.14  
    vue-eslint-parser:  7.11.0  
    vue-template-compiler: ^2.6.14 => 2.6.14  
    vuex: ^3.6.0 => 3.6.2  
    vuex-persistedstate: ^3.0.0 => 3.2.1  
  npmGlobalPackages:  
    @vue/cli: Not Found

package.json 文件如下

{  
  "name": "hbb_app",  
  "version": "2.2.20",  
  "private": true,  
  "engines": {  
    "node": ">=16",  
    "pnpm": ">=6"  
  },  
  "scripts": {  
    "build:app-plus": "cross-env NODE_ENV=production UNI_PLATFORM=app-plus vue-cli-service uni-build",  
    "dev": "cross-env NODE_ENV=development UNI_PLATFORM=app-plus vue-cli-service uni-build --watch",  
    "info": "node node_modules/@dcloudio/vue-cli-plugin-uni/commands/info.js",  
    "stylelintfix": "stylelint 'src/**/*.(nvue|vue|scss|css)' --fix",  
    "eslintfix": "eslint --ext .js,.vue,.nvue src --fix"  
  },  
  "dependencies": {  
    "@dcloudio/uni-app-plus": "2.0.0-alpha-32920211022004",  
    "@dcloudio/uni-h5": "2.0.0-alpha-32920211022004",  
    "@dcloudio/uni-i18n": "2.0.0-alpha-32920211022004",  
    "@dcloudio/uni-mp-weixin": "2.0.0-alpha-32920211022004",  
    "@dcloudio/uni-stat": "2.0.0-alpha-32920211022004",  
    "@dcloudio/uni-ui": "^1.3.9",  
    "dayjs": "^1.10.4",  
    "lodash": "^4.17.20",  
    "md5": "^2.3.0",  
    "mp-html": "^2.1.4",  
    "url-parse": "^1.5.1",  
    "vue": "^2.6.11",  
    "vuex": "^3.6.0",  
    "vuex-persistedstate": "^3.0.0"  
  },  
  "devDependencies": {  
    "@dcloudio/types": "^2.5.8",  
    "@dcloudio/uni-cli-i18n": "2.0.0-alpha-32920211022004",  
    "@dcloudio/uni-cli-shared": "2.0.0-alpha-32920211022004",  
    "@dcloudio/uni-helper-json": "^1.0.13",  
    "@dcloudio/uni-migration": "2.0.0-alpha-32920211022004",  
    "@dcloudio/uni-template-compiler": "2.0.0-alpha-32920211022004",  
    "@dcloudio/vue-cli-plugin-hbuilderx": "2.0.0-alpha-32920211022004",  
    "@dcloudio/vue-cli-plugin-uni": "2.0.0-alpha-32920211022004",  
    "@dcloudio/vue-cli-plugin-uni-optimize": "2.0.0-alpha-32920211022004",  
    "@dcloudio/webpack-uni-mp-loader": "2.0.0-alpha-32920211022004",  
    "@dcloudio/webpack-uni-pages-loader": "2.0.0-alpha-32920211022004",  
    "@vue/cli-plugin-babel": "~4.5.0",  
    "@vue/cli-service": "~4.5.0",  
    "babel-eslint": "^10.1.0",  
    "babel-plugin-import": "^1.11.0",  
    "cross-env": "^7.0.2",  
    "eslint": "^7.32.0",  
    "eslint-plugin-vue": "^7.15.2",  
    "husky": "^7.0.1",  
    "lint-staged": "^11.1.2",  
    "postcss-comment": "^2.0.0",  
    "sass": "^1.32.4",  
    "sass-loader": "^10.1.1",  
    "stylelint": "^13.13.1",  
    "stylelint-config-prettier": "^8.0.2",  
    "stylelint-config-recess-order": "^2.5.0",  
    "stylelint-config-standard": "^22.0.0",  
    "stylelint-scss": "^3.21.0",  
    "vue-template-compiler": "^2.6.14"  
  },  
  "browserslist": [  
    "Android>=4.4",  
    "ios>=9"  
  ],  
  "uni-app": {  
    "scripts": {}  
  }  
}

操作步骤:

新建空白项目,使用 pnpm 安装 cli项目依赖

预期结果:

能正常build

实际结果:

build 命令无响应

bug描述:

通过 pnpm install 安装依赖
执行 pnpm run build:app-plus 控制台无反应

> hbb_app@2.2.20 build:app-plus /Users/demo/projects/native_app  
> cross-env NODE_ENV=production UNI_PLATFORM=app-plus vue-cli-service uni-build  
2021-11-02 12:13 负责人:无 分享
已邀请:
DCloud_UNI_GSQ

DCloud_UNI_GSQ

问题确认,已加分

最新的 alpha 版已经修复。

  • 1***@qq.com

    真的是修复了吗?刚刚试了pnpm又有warn


     WARN  deprecated @dcloudio/uni-automator@2.0.0: error version  
     WARN  deprecated @dcloudio/uni-migration@2.0.0: error version
     WARN  deprecated @dcloudio/webpack-uni-mp-loader@2.0.0: error version
     WARN  deprecated @dcloudio/vue-cli-plugin-hbuilderx@2.0.0: error version
     WARN  deprecated @dcloudio/uni-i18n@2.0.0: error
     WARN  deprecated @dcloudio/uni-template-compiler@2.0.0: error version
     WARN  deprecated @dcloudio/uni-cli-shared@2.0.0: error version
     WARN  deprecated @dcloudio/webpack-uni-pages-loader@2.0.0: error version
     WARN  deprecated @dcloudio/vue-cli-plugin-uni-optimize@2.0.0: error version

    运行


    err = err.replace(this._UNI_INPUT_DIR_REG, 'UNI_INPUT_DIR')  

    2021-11-11 15:35

  • DCloud_UNI_GSQ

    回复 1***@qq.com: 说明你装错了版本,手动装一下最新的 alpha 版

    2021-11-11 15:58

  • DCloud_UNI_GSQ

    回复 1***@qq.com: 重新装一下,2.0.0 是错误的版本

    2021-11-11 15:59

1***@qq.com

1***@qq.com

@DCloud_UNI_GSQ
刚刚vue create -p dcloudio/uni-preset-vue#alpha my-alpha-project创建的项目的 package.json 这下面所有的依赖都是 ^2.0.0 难道都是要手动去安装更新吗?

{  
  "name": "my-alpha-project",  
  "version": "0.1.0",  
  "private": true,  
  "dependencies": {  
    "@dcloudio/uni-app-plus": "^2.0.0",  
    "@dcloudio/uni-h5": "^2.0.0",  
    "@dcloudio/uni-helper-json": "*",  
    "@dcloudio/uni-i18n": "^2.0.0",  
    "@dcloudio/uni-mp-360": "^2.0.0",  
    "@dcloudio/uni-mp-alipay": "^2.0.0",  
    "@dcloudio/uni-mp-baidu": "^2.0.0",  
    "@dcloudio/uni-mp-kuaishou": "^2.0.0",  
    "@dcloudio/uni-mp-qq": "^2.0.0",  
    "@dcloudio/uni-mp-toutiao": "^2.0.0",  
    "@dcloudio/uni-mp-vue": "^2.0.0",  
    "@dcloudio/uni-mp-weixin": "^2.0.0",  
    "@dcloudio/uni-quickapp-native": "^2.0.0",  
    "@dcloudio/uni-quickapp-webview": "^2.0.0",  
    "@dcloudio/uni-stat": "^2.0.0",  
    "@vue/shared": "^3.0.0",  
    "core-js": "^3.6.5",  
    "flyio": "^0.6.2",  
    "regenerator-runtime": "^0.12.1",  
    "vue": "^2.6.11",  
    "vue-class-component": "^6.3.2",  
    "vue-property-decorator": "^8.0.0",  
    "vuex": "^3.2.0"  
  }  
}
青阳_1900

青阳_1900 (作者)

3.2.15 开始编译了,但是有其他问题,看着像路径解析问题

❯ pnpm run info  

> hbb_app@2.2.21 info /Users/hbb-app  
> node node_modules/@dcloudio/vue-cli-plugin-uni/commands/info.js  

uni-app v3.2.15  
uni-app cli v2.0.0-32920211119001  

Environment Info:  

  System:  
    OS: macOS 12.0.1  
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz  
  Binaries:  
    Node: 16.13.0 - /usr/local/bin/node  
    Yarn: 1.22.17 - /usr/local/bin/yarn  
    npm: 8.1.0 - /usr/local/bin/npm  
  Browsers:  
    Chrome: 95.0.4638.69  
    Firefox: Not Found  
    Safari: 15.1  
  npmPackages:  
    @dcloudio/types: ^2.5.8 => 2.5.13  
    @dcloudio/uni-app-plus: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @dcloudio/uni-cli-i18n: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @dcloudio/uni-cli-shared: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @dcloudio/uni-h5: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @dcloudio/uni-helper-json: ^1.0.13 => 1.0.13  
    @dcloudio/uni-i18n: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @dcloudio/uni-migration: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @dcloudio/uni-mp-weixin: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @dcloudio/uni-stat: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @dcloudio/uni-template-compiler: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @dcloudio/uni-ui: ^1.3.9 => 1.4.7  
    @dcloudio/vue-cli-plugin-hbuilderx: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @dcloudio/vue-cli-plugin-uni: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @dcloudio/vue-cli-plugin-uni-optimize: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @dcloudio/webpack-uni-mp-loader: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @dcloudio/webpack-uni-pages-loader: 2.0.0-32920211119001 => 2.0.0-32920211119001  
    @vue/cli-plugin-babel: ~4.5.0 => 4.5.15  
    @vue/cli-service: ~4.5.0 => 4.5.15  
    eslint-plugin-vue: ^7.15.2 => 7.20.0  
    vue: ^2.6.11 => 2.6.14  
    vue-eslint-parser:  7.11.0  
    vue-template-compiler: ^2.6.14 => 2.6.14  
    vuex: ^3.6.0 => 3.6.2  
    vuex-persistedstate: ^3.0.0 => 3.2.1  
  npmGlobalPackages:  
    @vue/cli: Not Found
15:51:17.015 项目 'hbb-app' 开始编译...  
15:51:17.968 编译器版本:3.2.15(v3)看:https://ask.dcloud.net.cn/article/36599。  
15:51:17.972 请注意运行模式下,因日志输出、sourcemap以及未压缩源码等原因,性能和包体积,均不及发行模式。  
15:51:18.091 正在编译中...  
15:51:18.820  ERROR  Error: Cannot find module '@vue/babel-preset-app'  
15:51:18.824 Require stack:  
15:51:18.824 - /Users/hbb-app/node_modules/.pnpm/@babel+core@7.16.0/node_modules/@babel/core/lib/config/files/plugins.js  
15:51:18.830 - /Users/hbb-app/node_modules/.pnpm/@babel+core@7.16.0/node_modules/@babel/core/lib/config/files/index.js  
15:51:18.830 - /Users/hbb-app/node_modules/.pnpm/@babel+core@7.16.0/node_modules/@babel/core/lib/index.js  
15:51:18.835 - /Users/hbb-app/node_modules/.pnpm/@vue+cli-plugin-babel@4.5.15_4c1e5ebbf041a85328f9984e4ede8f8a/node_modules/@vue/cli-plugin-babel/index.js  
15:51:18.835 - /Users/hbb-app/node_modules/.pnpm/@vue+cli-service@4.5.15_6ea0837a110d10d5b4a7839bd1d980f3/node_modules/@vue/cli-service/lib/Service.js  
15:51:18.839 - /Users/hbb-app/node_modules/.pnpm/@vue+cli-service@4.5.15_6ea0837a110d10d5b4a7839bd1d980f3/node_modules/@vue/cli-service/bin/vue-cli-service.js  
15:51:18.843 Error: Cannot find module '@vue/babel-preset-app'  
15:51:18.847 Require stack:  
15:51:18.847 - /Users/hbb-app/node_modules/.pnpm/@babel+core@7.16.0/node_modules/@babel/core/lib/config/files/plugins.js  
15:51:18.851 - /Users/hbb-app/node_modules/.pnpm/@babel+core@7.16.0/node_modules/@babel/core/lib/config/files/index.js  
15:51:18.854 - /Users/hbb-app/node_modules/.pnpm/@babel+core@7.16.0/node_modules/@babel/core/lib/index.js  
15:51:18.857 - /Users/hbb-app/node_modules/.pnpm/@vue+cli-plugin-babel@4.5.15_4c1e5ebbf041a85328f9984e4ede8f8a/node_modules/@vue/cli-plugin-babel/index.js  
15:51:18.857 - /Users/hbb-app/node_modules/.pnpm/@vue+cli-service@4.5.15_6ea0837a110d10d5b4a7839bd1d980f3/node_modules/@vue/cli-service/lib/Service.js  
15:51:18.861 - /Users/hbb-app/node_modules/.pnpm/@vue+cli-service@4.5.15_6ea0837a110d10d5b4a7839bd1d980f3/node_modules/@vue/cli-service/bin/vue-cli-service.js  
15:51:18.865     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)  
15:51:18.869     at Function.Module._resolveFilename (/Users/hbb-app/node_modules/.pnpm/module-alias@2.2.2/node_modules/module-alias/index.js:49:29)  
15:51:18.873     at resolve (internal/modules/cjs/helpers.js:80:19)  
15:51:18.877     at resolveStandardizedName (/Users/hbb-app/node_modules/.pnpm/@babel+core@7.16.0/node_modules/@babel/core/lib/config/files/plugins.js:111:7)  
15:51:18.878     at resolvePreset (/Users/hbb-app/node_modules/.pnpm/@babel+core@7.16.0/node_modules/@babel/core/lib/config/files/plugins.js:59:10)  
15:51:18.883     at loadPreset (/Users/hbb-app/node_modules/.pnpm/@babel+core@7.16.0/node_modules/@babel/core/lib/config/files/plugins.js:78:20)  
15:51:18.887     at loadPreset.next (<anonymous>)  
15:51:18.890     at createDescriptor (/Users/hbb-app/node_modules/.pnpm/@babel+core@7.16.0/node_modules/@babel/core/lib/config/config-descriptors.js:187:16)  
15:51:18.894     at createDescriptor.next (<anonymous>)  
15:51:18.898     at evaluateSync (/Users/hbb-app/node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js:251:28)  
15:51:18.901     at /Users/hbb-app/node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js:31:34  
15:51:18.904     at Array.map (<anonymous>)  
15:51:18.907     at Function.sync (/Users/hbb-app/node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js:31:22)  
15:51:18.907     at Function.all (/Users/hbb-app/node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js:210:24)  
15:51:18.911     at Generator.next (<anonymous>)  
15:51:18.914     at createDescriptors (/Users/hbb-app/node_modules/.pnpm/@babel+core@7.16.0/node_modules/@babel/core/lib/config/config-descriptors.js:142:41)
  • DCloud_UNI_GSQ

    是新建的空工程吗?如果不是还请再提供一下项目信息

    2021-11-22 11:24

RuiWu

RuiWu

  • tsconfig.json 里面设置 "preserveSymlinks": true。如果没有使用 typescript 可忽略。
{  
  "compilerOptions": {  
    "preserveSymlinks": true,  
    ...  
  }  
}  
  • 配置 webpack。下面示例是在 vue.config.js 文件里配置,chainWebpackconfigureWebpack 二选一即可。
module.exports = {  
  chainWebpack: (config) => {  
    // symlinks  
    config.resolve.symlinks = false;  
  },  
  configureWebpack: {    
    resolve: {  
      symlinks: false,  
    },  
  },  
};  

示例项目

  • RuiWu

    如果配置 webpack 就正常了,没必要设置 "preserveSymlinks": true

    2022-01-20 13:31

天易

天易

最新的版本还是有这个问题

Hyman@T470P MINGW64 /e/WorkSpace/h5-welfare (master)  
$ pnpm dev  

> h5-welfare@0.1.0 dev E:\WorkSpace\h5-welfare  
> cross-env NODE_ENV=development UNI_PLATFORM=h5 vue-cli-service uni-serve  

请注意运行模式下,因日志输出、sourcemap以及未压缩源码等原因,性能和包体积,均不及发行模式。  

Hyman@T470P MINGW64 /e/WorkSpace/h5-welfare (master)  
$

$ pnpm run info  

> h5-welfare@0.1.0 info E:\WorkSpace\h5-welfare  
> node node_modules/@dcloudio/vue-cli-plugin-uni/commands/info.js  

uni-app v3.4.7  
uni-app cli v2.0.1-34720220422001  

Environment Info:  

  System:  
    OS: Windows 10  
    CPU: (4) x64 Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz  
  Binaries:  
    Node: 16.14.2 - D:\Develop\nodejs\node.EXE  
    Yarn: Not Found  
    npm: 8.5.0 - D:\Develop\nodejs\npm.CMD  
  Browsers:  
    Edge: 44.19041.1266.0  
  npmPackages:  
    @dcloudio/types: * => 2.6.4  
    @dcloudio/uni-app-plus: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/uni-automator: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/uni-cli-i18n: ^2.0.1-34620220419001 => 2.0.1-34620220419001  
    @dcloudio/uni-cli-shared: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/uni-h5: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/uni-helper-json: * => 1.0.13  
    @dcloudio/uni-migration: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/uni-mp-360: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/uni-mp-alipay: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/uni-mp-baidu: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/uni-mp-qq: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/uni-mp-toutiao: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/uni-mp-vue: ^2.0.1-34720220422001 => 2.0.1-alpha-34620220415002  
    @dcloudio/uni-mp-weixin: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/uni-quickapp-native: ^2.0.1-34720220422001 => 2.0.1-alpha-34620220415002  
    @dcloudio/uni-quickapp-webview: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/uni-stat: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/uni-template-compiler: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/vue-cli-plugin-hbuilderx: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/vue-cli-plugin-uni: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/vue-cli-plugin-uni-optimize: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/webpack-uni-mp-loader: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @dcloudio/webpack-uni-pages-loader: ^2.0.1-34720220422001 => 2.0.1-34720220422001  
    @hap-toolkit/dsl-vue:  0.6.13  
    @vue/babel-helper-vue-jsx-merge-props:  1.2.1  
    @vue/babel-helper-vue-transform-on:  1.0.2  
    @vue/babel-plugin-jsx:  1.1.1  
    @vue/babel-plugin-transform-vue-jsx:  1.2.1  
    @vue/babel-preset-app:  4.5.17  
    @vue/babel-preset-jsx:  1.2.4  
    @vue/babel-sugar-composition-api-inject-h:  1.2.1  
    @vue/babel-sugar-composition-api-render-instance:  1.2.4  
    @vue/babel-sugar-functional-vue:  1.2.2  
    @vue/babel-sugar-inject-h:  1.2.2  
    @vue/babel-sugar-v-model:  1.2.3  
    @vue/babel-sugar-v-on:  1.2.3  
    @vue/cli-overlay:  4.5.17  
    @vue/cli-plugin-babel: ~4.5.0 => 4.5.17  
    @vue/cli-plugin-router:  4.5.17  
    @vue/cli-plugin-vuex:  4.5.17  
    @vue/cli-service: ~4.5.0 => 4.5.17  
    @vue/cli-shared-utils:  4.5.17  
    @vue/component-compiler-utils:  3.3.0  
    @vue/preload-webpack-plugin:  1.1.2  
    @vue/shared: ^3.0.0-rc.4 => 3.2.33  
    @vue/web-component-wrapper:  1.3.0  
    vue: ^2.6.11 => 2.6.14  
    vue-clipboard2: ^0.3.1 => 0.3.3  
    vue-hot-reload-api:  2.3.4  
    vue-lazyload: ^1.3.3 => 1.3.3  
    vue-loader:  15.9.8 (15.9.8)  
    vue-router: ^3.4.3 => 3.5.3  
    vue-style-loader:  4.1.3  
    vue-template-compiler: ^2.6.11 => 2.6.14  
    vue-template-es2015-compiler:  1.9.1  
    vuex: ^3.2.0 => 3.6.2  
  npmGlobalPackages:  
    @vue/cli: Not Found

该问题目前已经被锁定, 无法添加新回复