文章詳情頁
javascript - react native使用第三方開源插件的時候報錯解析不了模塊
瀏覽:120日期:2023-02-08 18:44:51
問題描述
在使用react-native-swiper插件的時候也按照它的使用方法去使用:https://github.com/leecade/re...
運行:react-native run-android,報錯:'message':'Unable to resolve module react-native-swiper
也嘗試過其他的插件同樣報錯解析不了, 安裝時:用cnpm安裝,gradle里面的gradle-wrapper.properties文件里面的distributionUrl使用本地的路徑,不知道哪里出問題了,求解?
問題解答
回答1:據(jù)我所知 cnpm 安裝rn的依賴時會出問題,現(xiàn)在不知道解決了沒有,試試npm 或yarn
標簽:
JavaScript
相關(guān)文章:
1. boot2docker無法啟動2. java - SSH框架中寫分頁時service層中不能注入分頁類3. docker安裝后出現(xiàn)Cannot connect to the Docker daemon.4. 關(guān)于docker下的nginx壓力測試5. node.js - antdesign怎么集合react-redux對input控件進行初始化賦值6. 老師,按tab鍵不起作用怎么回事7. javascript - 使用vue2.x時,白屏現(xiàn)象8. html - input中radio為什么多選9. javascript - 關(guān)于<a>元素與<input>元素的JS事件運行問題10. javascript - 怎么用空白DIV填充的方法解決列表數(shù)據(jù)過多的問題?
排行榜

熱門標簽
網(wǎng)公網(wǎng)安備