我将此发布到 react-native 问题:
环境
Environment:
OS: macOS Sierra 10.12.6
Node: 7.10.0
Yarn: 1.3.2
npm: 5.6.0
Watchman: 4.7.0
Xcode: Xcode 8.0 Build version 8A218a
Android Studio: 1.5 AI-141.2456560
Packages: (wanted => installed)
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
react-native: 0.48.0 => 0.48.0
重现步骤
react-native link react-native-fbsdk
or simply
react-native link
预期行为
我以为它会链接 react-native-fbsdk
实际行为
rnpm-install ERR! ERRPACKAGEJSON No package found. Are you sure this is a React Native project?
Cannot read property '_text' of undefined
可重现的演示
这是一个工具问题,只能在命令行重现,与应用程序无关。