在练习react-native时,初始化完项目,运行npm run android 抛出错误
解决方案:
打开node_modules -> glob -> common.js
找到 options.allowWindowsEscape 设置为false
再次运行命令 yarn android
成功启动
在练习react-native时,初始化完项目,运行npm run android 抛出错误
解决方案:
打开node_modules -> glob -> common.js
找到 options.allowWindowsEscape 设置为false
再次运行命令 yarn android
成功启动