You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✖ Webpack
Compiled with some errors in 1.52s
编译 发现入口 src/app.ts
编译 发现页面 src/pages/index/index.tsx
✖ Errors:
ModuleNotFoundError: Module not found: Error: Package path ./cjs/react-jsx-runtime.production.min.js is not exported from package D:\test\taro-init\node_modules\react (see exports field in D:\test\taro-init\node_modules\react\package.json)
→ Watching... [2024/12/6 22:16:32]
node:internal/process/promises:392
new UnhandledPromiseRejection(reason);
^
UnhandledPromiseRejection: This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "[object Array]".
at throwUnhandledRejectionsMode (node:internal/process/promises:392:7)
at processPromiseRejections (node:internal/process/promises:475:17)
at processTicksAndRejections (node:internal/process/task_queues:106:32) {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v22.12.0
error: script "dev:weapp" exited with code 1
这个 API 长什么样?
无缝升级react19
The text was updated successfully, but these errors were encountered:
这个特性解决了什么问题?
react 19 已正式发布,当前编译报错
这个 API 长什么样?
无缝升级react19
The text was updated successfully, but these errors were encountered: