Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
版本2.7.1
emp init 两个项目 react_base react_app
target 使用emp init 默认的es5
react_app中运行会提示以下信息,要怎么解决?
compiled with problems:
WARNING in external "microHost@http://127.0.0.1:8001/emp.js"
The generated code contains 'async/await' because this module is using "external script".
However, your target environment does not appear to support 'async/await'.
As a result, the code may not run as expected or may cause runtime errors.
代码中使用的async/await看着已经被babel转换过了。
Beta Was this translation helpful? Give feedback.
All reactions