1. 程式人生 > >error: Build input file cannot be found: '*******/node_modules/react-native/Libraries/WebSocket/libfishhook.a' 問題解決記錄

error: Build input file cannot be found: '*******/node_modules/react-native/Libraries/WebSocket/libfishhook.a' 問題解決記錄

解決了剛才的 'config.h' file not found 問題,本以為就可以順暢的跑起來,誰知道又被噁心到了,Build input file cannot be found!!!

問題:

error: Build input file cannot be found: '/Users/galahad/Desktop/ziliao/RN和Native互動/react-native-blog-examples/Chapter10-RNInteractionWithNative/RNAddNative/node_modules/react-native/Libraries/WebSocket/libfishhook.a'

解決:

通常編譯報 Build input file cannot be found錯誤,說明該檔案存放位置有問題,只需要移除之後,重新新增一下檔案就可以編譯通過。如下:

然後就可以跑起來了!!!!