taro 运行 yarn dev:weapp报错:node:internal/process/promises:279 triggerUncaughtException(err, true /* fromPromise */);

klsxnrf1  于 22天前  发布在  Yarn
关注(0)|答案(6)|浏览(18)

相关平台

微信小程序

小程序基础库: 2.33.0
使用框架: React

复现步骤

github 地址: https://github.com/weDream-team/weCard_wx
只要启动项目就报错

期望结果

正常运行

实际结果

报错

环境信息

Taro CLI 3.6.16 environment info:
    System:
      OS: macOS 12.6.3
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 16.20.2 - /usr/local/opt/node@16/bin/node
      Yarn: 1.22.19 - /usr/local/bin/yarn
      npm: 8.19.4 - /usr/local/opt/node@16/bin/npm
    npmPackages:
      @tarojs/cli: 3.6.11 => 3.6.11 
      @tarojs/components: 3.6.11 => 3.6.11 
      @tarojs/helper: 3.6.11 => 3.6.11 
      @tarojs/plugin-framework-react: 3.6.11 => 3.6.11 
      @tarojs/plugin-html: ^3.6.11 => 3.6.11 
      @tarojs/plugin-platform-alipay: 3.6.11 => 3.6.11 
      @tarojs/plugin-platform-h5: 3.6.11 => 3.6.11 
      @tarojs/plugin-platform-jd: 3.6.11 => 3.6.11 
      @tarojs/plugin-platform-qq: 3.6.11 => 3.6.11 
      @tarojs/plugin-platform-swan: 3.6.11 => 3.6.11 
      @tarojs/plugin-platform-tt: 3.6.11 => 3.6.11 
      @tarojs/plugin-platform-weapp: 3.6.11 => 3.6.11 
      @tarojs/react: 3.6.11 => 3.6.11 
      @tarojs/runtime: 3.6.11 => 3.6.11 
      @tarojs/shared: 3.6.11 => 3.6.11 
      @tarojs/taro: 3.6.11 => 3.6.11 
      @tarojs/taro-loader: 3.6.11 => 3.6.11 
      @tarojs/webpack5-runner: 3.6.11 => 3.6.11 
      babel-preset-taro: 3.6.11 => 3.6.11 
      eslint-config-taro: 3.6.11 => 3.6.11 
      react: ^18.0.0 => 18.2.0 
    npmGlobalPackages:
      typescript: 5.2.2
hfsqlsce

hfsqlsce1#

这个是项目的报错信息

xzabzqsa

xzabzqsa2#

我也遇到相同的问题,请问解决了吗

oyjwcjzk

oyjwcjzk3#

遇到了相同的问题

pu3pd22g

pu3pd22g4#

更新 taro cli 到 3.6.11 . 注意一下 第三方组件 react 版本的差异

rwqw0loc

rwqw0loc5#

@chinawangyatao git 仓库地址 404 了。可以试试把 Taro CLI 和项目内的 Taro 依赖都升级到最新版再试试,如还有问题,请提供一下可复现 demo

jk9hmnmh

jk9hmnmh6#

并没有 在 2023-10-17 19:11:53,"khukeke" ***@***.***> 写道: 我也遇到相同的问题,请问解决了吗 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: ***@***.***>

相关问题