[英]react-native app not working in ios
嗨,我已經下載了此示例應用程序https://github.com/iZaL/my-appointment 。 當我運行此錯誤時,您能否在此問題上為我提供幫助my-appointment-master / src / containers / Category / Category.js:在其模塊映射或/ Users /下的任何node_modules目錄中找不到該模塊node_modules / react-native-alphabetlistview及其父目錄
這可能與https://github.com/facebook/react-native/issues/4968有關要解決此問題,請嘗試以下操作:1.清除watchman watchs: watchman watch-del-all
。 2.刪除node_modules
文件夾: rm -rf node_modules && npm install
。 3.重置打包程序緩存: rm -fr $TMPDIR/react-*
或npm start -- --reset-cache
。 我試圖重設這一切,但遇到相同的問題
看起來項目package.json缺少依賴項react-native-alphabetlistview
。
您可以通過npm install react-native-alphabetlistview --save
安裝它
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.