Javascript 我可以在世博会项目中运行react native link吗?
我试图在我的世博会项目中使用Javascript 我可以在世博会项目中运行react native link吗?,javascript,react-native,react-native-android,Javascript,React Native,React Native Android,我试图在我的世博会项目中使用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_m
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
onPressImageIcon中的src\screens\my profile\MyProfile.js:91:32$
-tryCatch中的node\u modules\@babel\runtime\node\u modules\registrator runtime\runtime.js:45:44
-invoke中的node_modules\@babel\runtime\node_modules\registrator runtime\runtime.js:271:30
-tryCatch中的node\u modules\@babel\runtime\node\u modules\registrator runtime\runtime.js:45:44
-invoke中的node_modules\@babel\runtime\node_modules\registrator runtime\runtime.js:135:28
-node_modules\@babel\runtime\node_modules\registrator runtime\runtime.js:170:17 in
-tryCallTwo中的node\u modules\promise\setimmediate\core.js:45:7
-doResolve中的node\u modules\promise\setimmediate\core.js:200:23
-promise中的节点\u modules\promise\setimmediate\core.js:66:12
-callInvokeWithMethodAndArg中的node_modules\@babel\runtime\node_modules\registrator runtime\runtime.js:169:27
-enqueue中的node_modules\@babel\runtime\node_modules\registrator runtime\runtime.js:192:38
-异步模式下的node_modules\@babel\runtime\node_modules\registrator runtime\runtime.js:216:8
*空:onPressImageIcon中为空
*onPress中的src\screens\my profile\MyProfile.js:109:45
-touchableHandlePress中的node_modules\react native\Libraries\Components\Touchable\TouchableOpacity.js:235:45
-performsdeeffectsforttransition中的节点\u modules\react native\Libraries\Components\Touchable\Touchable.js:878:34
- ... 框架内部再增加21个烟囱框架
请帮我弄清楚这件事。甚至允许在世博会中链接吗??我在一个Windows环境中,在运行Android 7.1.2的Redmi 4A上测试应用程序
谢谢。您不能。关于Expo,最大的限制是您不能添加自己的本机模块。
如果你想使用任何需要react-native链接的东西,那么你需要分离你的项目,然后在没有ExpoKit的情况下开发它我已经有一段时间没有使用Expo了,但我认为这是不可能的。我不知道为什么世博会的最后几项最具影响力…:(如果你用世博会开发的应用程序的基本大小是>25MB,还有其他一些东西…)。。。。