lsqy / taro-music

🎉基于taro + taro-ui + redux + react-hooks + typescript 开发的网易云音乐小程序,taro3已升级完毕,目前正在使用react-hooks重构中(不定时更新)
MIT License
1.91k stars 389 forks source link

code: 'ERR_UNHANDLED_REJECTION #147

Closed wengbenjue closed 2 years ago

wengbenjue commented 2 years ago

@ ./node_modules/taro-ui/dist/weapp/index.ts 3:0-33 @ ./node_modules/taro-ui/dist/index.js @ ./node_modules/babel-loader/lib!./src/pages/my/index.tsx @ ./src/pages/my/index.tsx

node:internal/process/promises:246 triggerUncaughtException(err, true / fromPromise /); ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "[object Array]".] { code: 'ERR_UNHANDLED_REJECTION' } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

lsqy commented 2 years ago

@wbj0110 确认下taro的版本安装是否正确