1***@163.com
1***@163.com
  • 发布:2021-09-06 16:48
  • 更新:2021-09-07 17:38
  • 阅读:683

HbuilderX3.2.3版本 对应的NPM 依赖版本是2.0.0-32320210825001吗?

分类:HBuilderX

HbuilderX升级到3.2.3版本,cli依赖更新到2.0.0-32320210825001后,云打包安卓版本显示编译器版本3.2.6(如图),导致App提示运行环境版本和编译器版本不一致。

2021-09-06 16:48 负责人:无 分享
已邀请:
DCloud_HB_WDL

DCloud_HB_WDL

是uniapp-cli项目?

DCloud_UNI_GSQ

DCloud_UNI_GSQ

npm run info 看一下

  • 1***@163.com (作者)

    uni-app v3.2.6

    uni-app cli v2.0.0-alpha-32620210901001


    Environment Info:


    System:

    OS: Windows 10

    CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz

    Binaries:

    Node: 12.16.1 - C:\Program Files\nodejs\node.EXE

    Yarn: 1.22.10 - C:\Program Files\nodejs\yarn.CMD

    npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD

    Browsers:

    Edge: 44.19041.1023.0

    npmPackages:

    @dcloudio/types: ^2.2.2 => 2.2.5

    @dcloudio/uni-app-plus: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-app-plus-nvue: 0.0.1

    @dcloudio/uni-app-plus-nvue-v8: 0.0.1

    @dcloudio/uni-automator: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-cli-shared: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-h5: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-helper-json: * => 1.0.13

    @dcloudio/uni-i18n: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-migration: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-mp-360: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-mp-alipay: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-mp-baidu: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-mp-kuaishou: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-mp-qq: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-mp-toutiao: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-mp-vue: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-mp-weixin: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-quickapp-native: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-quickapp-webview: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-stat: ^2.0.0-32320210825001 => 2.0.0-v3-24020191018001

    @dcloudio/uni-template-compiler: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/uni-ui: ^1.3.1 => 1.3.1

    @dcloudio/vue-cli-plugin-hbuilderx: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/vue-cli-plugin-uni: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/webpack-uni-mp-loader: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @dcloudio/webpack-uni-nvue-loader: 0.0.1

    @dcloudio/webpack-uni-pages-loader: ^2.0.0-32320210825001 => 2.0.0-alpha-32620210901001

    @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.0.6

    @vue/babel-plugin-transform-vue-jsx: 1.2.1

    @vue/babel-preset-app: 4.5.13

    @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.13

    @vue/cli-plugin-babel: ^4.5.12 => 4.5.13

    @vue/cli-plugin-router: 4.5.13

    @vue/cli-plugin-vuex: 4.5.13

    @vue/cli-service: ^4.5.12 => 4.5.13

    @vue/cli-shared-utils: 4.5.13

    @vue/component-compiler-utils: 3.2.0 (3.2.0)

    @vue/devtools-api: 6.0.0-beta.15

    @vue/preload-webpack-plugin: 1.1.2

    @vue/shared: ^3.0.11 => 3.0.11

    @vue/web-component-wrapper: 1.3.0

    mpvue-page-factory: 1.0.1

    mpvue-template-compiler: 1.0.13

    uni-h5-vue: 2.6.10

    uni-mp-vue: 2.6.10

    vue: ^2.6.11 => 2.6.12

    vue-hot-reload-api: 2.3.4

    vue-loader: 15.9.7 (16.5.0, 15.9.7)

    vue-router: 3.0.1

    vue-style-loader: 4.1.3 (4.1.3)

    vue-template-compiler: ^2.6.11 => 2.6.12 (2.6.12)

    vue-template-es2015-compiler: 1.9.1

    vue3: 1.0.0

    vuex: ^3.2.0 => 3.6.2 (3.6.2)

    npmGlobalPackages:

    @vue/cli: Not Found

    2021-09-07 16:32

DCloud_UNI_GSQ

DCloud_UNI_GSQ

你实际安装的是 2.0.0-alpha-32620210901001 版本

手动修改版本号安装成固定版本即可:https://uniapp.dcloud.io/quickstart-cli?id=%e4%bf%ae%e6%94%b9%e4%be%9d%e8%b5%96%e4%b8%ba%e6%8c%87%e5%ae%9a%e7%89%88%e6%9c%ac

  • 1***@163.com (作者)

    明白了,感谢解答

    2021-09-08 18:40

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