我得到以下错误后,更新我的反应-本机版本为0.59.10在android上。
(0,react.memo) is not a function.(in '(0,_react.memo)(FastimageBase)')'),'(0,_react.memo)' is undefined)
我的Package.json文件如下:
"dependencies": {
"@ptomasroos/react-native-multi-slider": "^1.0.0",
"@pusher/ch
当我运行./gradlew assembleRelease时,我得到了这个错误:
Task :app:bundleReleaseJsAndAssets
warning: the transform cache was reset.
Loading dependency graph, done.
index.js: The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from
在从0.44版本的-> 0.56升级之后,我一直在第一个呈现循环中得到这个结果。有什么想法吗?(似乎是内部反应-本机错误)。谷歌搜索没有给我任何东西:-
TypeError: undefined is not an object (evaluating 'props.getItem')
This error is located at:
in FlatList (at YellowBoxList.js:87)
in RCTView (at View.js:43)
in YellowBoxList (at YellowBox.js:104)
我试图在我的项目上运行npm安装,我删除了节点模块来重新安装它,但是我的终端上有很多错误。我所做的就是在假定的文件夹中安装npm,但是仍然会出现错误。错误消息在此消息下面。谢谢
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\APPname\node_modules\.staging\react-native-441da136\React\CxxModule\RCTCxxMethod.h'
npm WARN tar ENOENT: no such file or directory, open
因为ViewPropTypes已经从“react原生”中删除了,并且使用它的包没有更新。此错误出现在生成应用程序之后。
ERROR Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
ERROR Invariant Violation: Module AppRegistry is not a registered callabl
when I start pod install the result :
CocoaPods could not find compatible versions for pod "RNDateTimePicker":
In Podfile:
RNDateTimePicker (from `../node_modules/@react-native-community/datetimepicker`)
Specs satisfying the `RNDateTimePicker (from `../node_modules/@react-native-com
当我试图在我的Mac M1上用android和ios构建我的本机应用程序时,当我在error.....it上构建时,就不会出现这个error.....it:
Package firebase-functions has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in /Users/..../node_modules/firebase-functions/pa
我在这个项目上工作了几个月,一切都很好。我们有几个使用./gradlew bundleRelease的产品构建 但是最近几天,我不能使用./gradlew bundleRelease进行产品构建。我的意思是日志上说一切都是成功的。日志如下: > $ ./gradlew bundleRelease WARNING: Configuration 'compile' is obsolete
> and has been replaced with 'implementation' and 'api'. It will be
> re
在删除库@react-native-community/datetimepicker之后,我得到了这个错误,我在react本机应用程序中没有使用它。我尝试过用相同的版本重新安装它,也尝试过更新它,但是没有什么效果。
ERROR Invariant Violation: Tried to register two views with the same name RNCAndroidDialogPicker
ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling
我试图在Android Emulator上运行一个react原生应用程序,但该应用程序在启动后显示此错误。 ? 我不清楚它是在抱怨Android的权限,还是来自expo权限声明为依赖于expo-av和expo-image-picker的其他expo库。 你能帮我一下吗? 这是build.gradle // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsV
我得到了这个错误
RCTFatalException: Unhandled JS Exception: No dimension set for key windowmh_execute_header Unhandled JS Exception: No dimension set for key window, stack: value@75:505
在生产中。我认为这是RN的一个问题:
该线程中的所有解决方案看起来都是针对开发环境的。有没有办法在生产环境中修复这个问题(当然是在上传新版本之后)?
"dependencies": {
"@yfuks/rea
我们有一个Reactive原住民应用程序,在升级到AndroidStudio3.6.1和Gradle插件3.6.1之后,我们看到了这个编译错误:
Type androidx.appcompat.resources.R$dimen is defined multiple times: /Users/andrew/Software/project/android/app/build/intermediates/project_dex_archive/productionRelease/out/androidx/appcompat/resources/R$dimen.dex, /Users/andr