且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

npx create-react-app无法正常工作“必须使用导入才能加载ES模块:"

更新时间:2022-05-12 23:42:50

此问题已通过is-promise软件包的2.2.2版本修复.如果您仍然在创建新CRA时遇到问题,请考虑npm install -g --force create-react-app

this issue is fixed with 2.2.2 version of is-promise package. If you still experience problems creating new CRA, consider npm install -g --force create-react-app

如果仍然存在该错误,请将您的问题评论为此github问题

If even then bug is still present, please comment your issue to this github issue