react-native 运行提示红屏 error: bundling failed: ambiguous resolution: module `/User/xxx/Project/ico/index.js` tries to require `react-native`, but there are several files providing this module. You can de

运行 react-native start 报错

执行这2个进行清除缓存问题

yarn start -- --reset-cache 

npm start -- --reset-cache  

原文地址:https://www.cnblogs.com/pxjbk/p/10271836.html