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
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
版本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