Error:
Could not connect to develpment server.
Ensure the following:
- Node server is running and available on the same network - run 'npm start' from react-native root
- Node server URL is correctly set in AppDelegate
URL: http://127.0.0.1:8081/index.ios.bundle?platform=ios&dev=true
我肯定是在運行npm start。爲什麼不這樣跑?React-Native - 無法連接到開發服務器(iOS模擬器)
現在我看到了這個錯誤:
In file included from /Users/*******/f8app/node_modules/react-native-fbsdk/ios/RCTFBSDK/core/RCTFBSDKAccessToken.m:19:
/Users/*********/f8app/node_modules/react-native-fbsdk/ios/RCTFBSDK/core/RCTFBSDKAccessToken.h:21:9: fatal error:
'FBSDKCoreKit/FBSDKCoreKit.h' file not found
#import <FBSDKCoreKit/FBSDKCoreKit.h>
您可以訪問在瀏覽器的網址? –
不,它拒絕連接:127.0.0.1拒絕連接。 – user1072337
但是,我能夠到達http:// localhost:8080/dashboard/apps和http:// localhost:8080/graphql就好了,那些出現了。 – user1072337