我可以在我的 expo 项目中 运行 react-native link 吗?

Can I run react-native link in my expo project?

我正在尝试在我的 expo 项目中使用 react-native-image-crop-picker 包,但出现此错误:

* src\screens\my-profile\MyProfile.js:91:32 in onPressImageIcon$
- node_modules\@babel\runtime\node_modules\regenerator-runtime\runtime.js:45:44 in tryCatch
- node_modules\@babel\runtime\node_modules\regenerator-runtime\runtime.js:271:30 in invoke
- node_modules\@babel\runtime\node_modules\regenerator-runtime\runtime.js:45:44 in tryCatch
- node_modules\@babel\runtime\node_modules\regenerator-runtime\runtime.js:135:28 in invoke
- node_modules\@babel\runtime\node_modules\regenerator-runtime\runtime.js:170:17 in <unknown>
- node_modules\promise\setimmediate\core.js:45:7 in tryCallTwo
- node_modules\promise\setimmediate\core.js:200:23 in doResolve
- node_modules\promise\setimmediate\core.js:66:12 in Promise
- node_modules\@babel\runtime\node_modules\regenerator-runtime\runtime.js:169:27 in callInvokeWithMethodAndArg
- node_modules\@babel\runtime\node_modules\regenerator-runtime\runtime.js:192:38 in enqueue
- node_modules\@babel\runtime\node_modules\regenerator-runtime\runtime.js:216:8 in async
* null:null in onPressImageIcon
* src\screens\my-profile\MyProfile.js:109:45 in onPress
- node_modules\react-native\Libraries\Components\Touchable\TouchableOpacity.js:235:45 in touchableHandlePress
- node_modules\react-native\Libraries\Components\Touchable\Touchable.js:878:34 in _performSideEffectsForTransition
- ... 21 more stack frames from framework internals 

请帮我解决这个问题。世博会甚至允许 link 吗?我在 Redmi 4A 上的 Windows 环境和测试应用程序中 运行 在 Android 7.1.2

谢谢。

你不能't.The Expo 最大的限制是你不能添加你自己的原生模块。 如果你想使用任何需要 react-native link 的东西,那么你需要分离你的项目,然后在没有 ExpoKit 的情况下开发它