I'm getting this when calling UserMananger.FindByEmailAsync
Exception thrown: 'System.MissingMethodException' in EntityFramework.Core.dll
Additional information: Method not found: 'Remotion.Linq.Parsing.ExpressionVisitors.TreeEvaluation.PartialEvaluationInfo Remotion.Linq.Parsing.ExpressionVisitors.TreeEvaluation.EvaluatableTreeFindingExpressionVisitor.Analyze(System.Linq.Expressions.Expression)'.
Here is my project.json dependencies:
"EntityFramework": "7.0.0-beta6-*",
"EntityFramework.Commands": "7.0.0-beta6-*",
"EntityFramework.Core": "7.0.0-beta6-*",
"EntityFramework.SqlServer": "7.0.0-beta6-*",
"Microsoft.AspNet.DataProtection": "1.0.0-beta6-*",
"Microsoft.AspNet.Diagnostics": "1.0.0-beta6-*",
"Microsoft.AspNet.Diagnostics.Entity": "7.0.0-beta6-*",
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-beta6-*",
"Microsoft.AspNet.Mvc": "6.0.0-beta6-*",
"Microsoft.AspNet.Owin": "1.0.0-beta6-*",
"Microsoft.AspNet.Server.IIS": "1.0.0-beta6-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta6-*",
"Microsoft.AspNet.StaticFiles": "1.0.0-beta6-*",
"Microsoft.AspNet.WebApi.Core": "5.2.3",
"Microsoft.Framework.Configuration": "1.0.0-beta6-*",
"Microsoft.Framework.Configuration.EnvironmentVariables": "1.0.0-beta6-*",
"Microsoft.Framework.Configuration.Json": "1.0.0-beta6-*",
"Microsoft.Framework.Configuration.UserSecrets": "1.0.0-beta6-*",
"Microsoft.Framework.DependencyInjection": "1.0.0-beta6-*",
"Microsoft.Framework.DependencyInjection.Ninject": "1.0.0-beta6-*",
"Microsoft.Framework.Logging": "1.0.0-beta6-*",
"Microsoft.Framework.Logging.Console": "1.0.0-beta6-*",
"Microsoft.Owin": "3.0.1",
What am I missing?
It appears you are missing re-linq. But this should be installed as it is a depencency of "EntityFramework.Core".
Try removing "EntityFramework": "7.0.0-beta6-*", as this package does not and will not exist. It could be the source of conflicts? Just a guess.
Update:
You can verify which version relinq is installed with dnu list and look under "Package References". You should have "Remotion.Linq 2.0.0-alpha-004"
listed
Related
Trying to build by using eas build but now the builds go in queue and do not go from there. What used to take about 5 minutes to build is now sitting idle in the queue for over an hour, and it never starts. Cancelling the build and starting a new one does not help. Tried starting a build for a different project and had the same issue. Can this be related to my set up (Pasted below), or is it on the build-servers side?
here's my package.jsoon dependecies
"expo": "~46.0.13",
"expo-application": "~4.2.2",
"expo-build-properties": "~0.3.0",
"expo-constants": "~13.2.4",
"expo-device": "~4.3.0",
"expo-firebase-recaptcha": "~2.3.0",
"expo-font": "~10.2.0",
"expo-keep-awake": "~10.2.0",
"expo-linking": "~3.2.2",
"expo-location": "~14.3.0",
"expo-network": "~4.3.0",
"expo-splash-screen": "~0.16.2",
"expo-status-bar": "~1.4.0",
"expo-updates": "~0.14.6",
"firebase": "^9.10.0",
"formik": "^2.2.9",
"intl": "^1.2.5",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-native": "0.69.6",
"react-native-app-link": "^1.0.1",
I am trying to upgrade my react-native version from 63 to 67.4 and I have issues for the iOS part.
I have done bundle install yarn upgrade cd iOS && pod install and this is the issue I have after changing iOS deployment target from 10.0 to 11.0 as suggested in the react-native upgrade helper.
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_RCTViewManager", referenced from:
_OBJC_CLASS_$_BVLinearGradientManager in BVLinearGradientManager.o
"_OBJC_METACLASS_$_RCTViewManager", referenced from:
_OBJC_METACLASS_$_BVLinearGradientManager in BVLinearGradientManager.o
"_OBJC_CLASS_$_RCTView", referenced from:
_OBJC_CLASS_$_BVLinearGradient in BVLinearGradient.o
"_OBJC_METACLASS_$_RCTView", referenced from:
_OBJC_METACLASS_$_BVLinearGradient in BVLinearGradient.o
"_RCTRegisterModule", referenced from:
+[BVLinearGradientManager load] in BVLinearGradientManager.o
"_OBJC_CLASS_$_RCTConvert", referenced from:
objc-class-ref in BVLinearGradient.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
After fixing this error by adding React-Core to the linked binary with librairies in the Build Phases. I have a second error which I don't know if it is linked to the previous fix or from what it is:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_NSPersistentStoreCoordinator", referenced from:
objc-class-ref in libNAOSDK.a(MQTTCoreDataPersistence.o)
"_NSMigratePersistentStoresAutomaticallyOption", referenced from:
-[MQTTCoreDataPersistence createPersistentStoreCoordinator] in libNAOSDK.a(MQTTCoreDataPersistence.o)
"_OBJC_CLASS_$_NSManagedObject", referenced from:
_OBJC_CLASS_$_MQTTFlow in libNAOSDK.a(MQTTCoreDataPersistence.o)
"_NSInferMappingModelAutomaticallyOption", referenced from:
-[MQTTCoreDataPersistence createPersistentStoreCoordinator] in libNAOSDK.a(MQTTCoreDataPersistence.o)
"_OBJC_CLASS_$_NSFetchRequest", referenced from:
objc-class-ref in libNAOSDK.a(MQTTCoreDataPersistence.o)
"_NSSQLiteManualVacuumOption", referenced from:
-[MQTTCoreDataPersistence createPersistentStoreCoordinator] in libNAOSDK.a(MQTTCoreDataPersistence.o)
"_NSSQLiteAnalyzeOption", referenced from:
-[MQTTCoreDataPersistence createPersistentStoreCoordinator] in libNAOSDK.a(MQTTCoreDataPersistence.o)
"_OBJC_CLASS_$_NSManagedObjectContext", referenced from:
objc-class-ref in libNAOSDK.a(MQTTCoreDataPersistence.o)
"_OBJC_CLASS_$_NSAttributeDescription", referenced from:
objc-class-ref in libNAOSDK.a(MQTTCoreDataPersistence.o)
"_OBJC_METACLASS_$_NSManagedObject", referenced from:
_OBJC_METACLASS_$_MQTTFlow in libNAOSDK.a(MQTTCoreDataPersistence.o)
"_NSSQLiteStoreType", referenced from:
-[MQTTCoreDataPersistence createPersistentStoreCoordinator] in libNAOSDK.a(MQTTCoreDataPersistence.o)
"_OBJC_CLASS_$_NSManagedObjectModel", referenced from:
objc-class-ref in libNAOSDK.a(MQTTCoreDataPersistence.o)
"_OBJC_CLASS_$_NSEntityDescription", referenced from:
objc-class-ref in libNAOSDK.a(MQTTCoreDataPersistence.o)
"_NSInMemoryStoreType", referenced from:
-[MQTTCoreDataPersistence createPersistentStoreCoordinator] in libNAOSDK.a(MQTTCoreDataPersistence.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
And this is the dependencies I have in my package.json:
"dependencies": {
"#babel/plugin-proposal-class-properties": "7.16.7",
"#bam.tech/react-native-batch": "6.0.1",
"#react-native-async-storage/async-storage": "1.17.0",
"#react-native-community/datetimepicker": "6.1.0",
"#react-native-community/eslint-config": "3.0.1",
"#react-native-community/masked-view": "0.1.11",
"#react-native-community/netinfo": "8.2.0",
"#react-native-community/push-notification-ios": "1.10.1",
"#react-native-firebase/analytics": "14.7.0",
"#react-native-firebase/app": "14.7.0",
"#react-native-firebase/crashlytics": "14.7.0",
"#react-native-firebase/messaging": "14.7.0",
"#react-navigation/bottom-tabs": "6.2.0",
"#react-navigation/native": "6.0.8",
"#react-navigation/stack": "6.1.1",
"#zsajjad/react-native-heading": "git+https://github.com/zsajjad/react-native-heading.git",
"buffer": "6.0.3",
"date-fns": "2.28.0",
"i18next": "21.6.14",
"memoize-one": "6.0.0",
"moment": "2.29.1",
"react": "17.0.2",
"react-i18next": "11.16.2",
"react-native": "0.67.4",
"react-native-autolink": "4.0.0",
"react-native-camera": "4.2.1",
"react-native-cardiweb-polestar": "0.5.7",
"react-native-contacts": "7.0.4",
"react-native-elements": "3.4.2",
"react-native-fast-image": "8.5.11",
"react-native-gesture-handler": "2.3.2",
"react-native-image-crop-picker": "0.37.3",
"react-native-image-progress": "1.2.0",
"react-native-keyboard-aware-scroll-view": "0.9.5",
"react-native-linear-gradient": "2.5.6",
"react-native-modal-datetime-picker": "13.1.0",
"react-native-progress": "5.0.0",
"react-native-push-notification": "8.1.1",
"react-native-reanimated": "2.5.0",
"react-native-root-modal": "5.0.1",
"react-native-safe-area-context": "4.1.4",
"react-native-screens": "3.11.1",
"react-native-snap-carousel": "3.9.1",
"react-native-splash-screen": "3.3.0",
"react-native-svg": "12.3.0",
"react-native-swipe-gestures": "1.0.5",
"react-native-swipeable": "0.6.0",
"react-native-swiper-flatlist": "3.0.16",
"react-native-vector-icons": "9.1.0",
"react-native-video": "5.2.0",
"react-native-webview": "11.17.2",
"react-redux": "7.2.6",
"redux": "4.1.2",
"redux-persist": "6.0.0",
"redux-thunk": "2.4.1",
"remote-redux-devtools": "0.5.16",
"rn-fetch-blob": "0.12.0"
},
I am getting the following error running React Native bundle release in the Android folder. I have tried updating Expo as well as installing an older version of it instead and I'm still getting the same error. Not sure what to try next?
./gradlew bundleRelease --stacktrace
results in the following error
* Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating script.
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.lambda$apply$0(DefaultScriptPluginFactory.java:133)
at org.gradle.configuration.DefaultScriptTarget.addConfiguration(DefaultScriptTarget.java:74)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:136)
at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:65)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
at org.gradle.configuration.BuildOperationScriptPlugin.lambda$apply$0(BuildOperationScriptPlugin.java:62)
at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:43)
at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:62)
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyScript(DefaultObjectConfigurationAction.java:149)
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$000(DefaultObjectConfigurationAction.java:42)
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$1.run(DefaultObjectConfigurationAction.java:75)
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:183)
at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:49)
at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.java:37)
at org.gradle.api.Script$apply.callCurrent(Unknown Source)
at build_9e9o1sx2v1y7pbwabnmzhlvko.run(/Users/anderbard/Development/cloversocial/MyApp/node_modules/react-native-reanimated/android/build.gradle:111)
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.lambda$apply$0(DefaultScriptPluginFactory.java:133)
at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:136)
at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:65)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
at org.gradle.configuration.BuildOperationScriptPlugin.lambda$apply$0(BuildOperationScriptPlugin.java:62)
at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:43)
at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:62)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$0(DefaultProjectStateRegistry.java:250)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:277)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:249)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:42)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)
at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:35)
at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.lambda$run$0(LifecycleProjectEvaluator.java:100)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$0(DefaultProjectStateRegistry.java:250)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$withProjectLock$3(DefaultProjectStateRegistry.java:310)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:213)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withProjectLock(DefaultProjectStateRegistry.java:310)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:291)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:249)
at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.run(LifecycleProjectEvaluator.java:91)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:63)
at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:721)
at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:151)
at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:41)
at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:69)
at org.gradle.configuration.DefaultProjectsPreparer.prepareProjects(DefaultProjectsPreparer.java:46)
at org.gradle.configuration.BuildTreePreparingProjectsPreparer.prepareProjects(BuildTreePreparingProjectsPreparer.java:56)
at org.gradle.configuration.BuildOperationFiringProjectsPreparer$ConfigureBuild.run(BuildOperationFiringProjectsPreparer.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
at org.gradle.configuration.BuildOperationFiringProjectsPreparer.prepareProjects(BuildOperationFiringProjectsPreparer.java:40)
at org.gradle.initialization.DefaultGradleLauncher.prepareProjects(DefaultGradleLauncher.java:226)
at org.gradle.initialization.DefaultGradleLauncher.doClassicBuildStages(DefaultGradleLauncher.java:163)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:148)
at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:124)
at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:72)
at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:67)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:213)
at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:67)
at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:56)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:31)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:63)
at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
at org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatchingBuildActionRunner.java:77)
at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:41)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:49)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:44)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:44)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.lambda$execute$0(InProcessBuildActionExecuter.java:54)
at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:86)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:53)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:29)
at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.lambda$execute$0(BuildTreeScopeLifecycleBuildActionExecuter.java:33)
at org.gradle.internal.buildtree.BuildTreeState.run(BuildTreeState.java:49)
at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:32)
at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:27)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:104)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:55)
at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:64)
at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:37)
at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.lambda$execute$0(SessionScopeLifecycleBuildActionExecuter.java:54)
at org.gradle.internal.session.BuildSessionState.run(BuildSessionState.java:67)
at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:50)
at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:36)
at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:59)
at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:55)
at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:41)
at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:47)
at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:31)
at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:65)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)
at org.gradle.util.Swapper.swap(Swapper.java:38)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:84)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
Caused by: org.gradle.api.UnknownProjectException: Project with path ':expo-modules-core' could not be found in project ':react-native-reanimated'.
at org.gradle.api.internal.project.DefaultProject.project(DefaultProject.java:657)
at jdk.internal.reflect.GeneratedMethodAccessor261.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:484)
at org.gradle.internal.metaobject.BeanDynamicObject.tryInvokeMethod(BeanDynamicObject.java:196)
at org.gradle.internal.metaobject.CompositeDynamicObject.tryInvokeMethod(CompositeDynamicObject.java:98)
at org.gradle.internal.extensibility.MixInClosurePropertiesAsMethodsDynamicObject.tryInvokeMethod(MixInClosurePropertiesAsMethodsDynamicObject.java:34)
at org.gradle.groovy.scripts.BasicScript$ScriptDynamicObject.tryInvokeMethod(BasicScript.java:135)
at org.gradle.internal.metaobject.ConfigureDelegate.invokeMethod(ConfigureDelegate.java:77)
at linking_bwugavbq1sq6pkn4xqoedk9us$_run_closure3.doCall(/Users/anderbard/Development/cloversocial/MyApp/node_modules/react-native-reanimated/android/expo/linking.gradle:40)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.util.ClosureBackedAction.execute(ClosureBackedAction.java:71)
at org.gradle.util.ConfigureUtil.configureTarget(ConfigureUtil.java:154)
at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:105)
at org.gradle.api.internal.project.DefaultProject.dependencies(DefaultProject.java:1241)
at jdk.internal.reflect.GeneratedMethodAccessor226.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:484)
at org.gradle.internal.metaobject.BeanDynamicObject.tryInvokeMethod(BeanDynamicObject.java:196)
at org.gradle.internal.metaobject.CompositeDynamicObject.tryInvokeMethod(CompositeDynamicObject.java:98)
at org.gradle.internal.extensibility.MixInClosurePropertiesAsMethodsDynamicObject.tryInvokeMethod(MixInClosurePropertiesAsMethodsDynamicObject.java:34)
at org.gradle.groovy.scripts.BasicScript$ScriptDynamicObject.tryInvokeMethod(BasicScript.java:135)
at org.gradle.internal.metaobject.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:163)
at org.gradle.groovy.scripts.BasicScript.invokeMethod(BasicScript.java:84)
at linking_bwugavbq1sq6pkn4xqoedk9us.run(/Users/anderbard/Development/cloversocial/MyApp/node_modules/react-native-reanimated/android/expo/linking.gradle:38)
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
... 165 more
Package Json
{
"scripts": {
"start": "ENVFILE=.env.development expo start",
"android": "react-native run-android",
"ios": "react-native run-ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"#react-native-async-storage/async-storage": "~1.15.0",
"axios": "^0.21.3",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"expo": "^43.0.3",
"expo-splash-screen": "~0.14.1",
"expo-status-bar": "~1.2.0",
"expo-updates": "~0.11.3",
"moment": "^2.29.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.3",
"react-native-config": "^1.4.4",
"react-native-dropdown-picker": "^5.2.3",
"react-native-elements": "^3.4.2",
"react-native-gesture-handler": "~2.1.0",
"react-native-image-picker": "^3.8.1",
"react-native-material-menu": "^2.0.0",
"react-native-reanimated": "^2.3.1",
"react-native-safe-area-context": "3.3.2",
"react-native-screens": "~3.10.1",
"react-native-shadow-cards": "^1.0.2",
"react-native-unimodules": "~0.15.0",
"react-native-web": "0.17.1"
},
"devDependencies": {
"#babel/core": "^7.12.9",
"#types/react": "~17.0.21",
"#types/react-native": "~0.64.12",
"typescript": "~4.3.5"
},
"private": true,
"name": "MyApp",
"version": "1.0.0"
}
Any idea how to resolve this?
faced same issue. uninstall expo package and reinstall correctly. Run
npx install-expo-modules
follow the official doc:
https://docs.expo.dev/bare/installing-expo-modules/
but with the latest version you will jump to another issue with incompatibility.
you have to downgrade or create a patch to fix
follow this topic
Just as we discussed in the comment section, I was able to resolve the issue by removing the react-native-reanimated package, as I was not using it. For the error you got after that, downgrading expo worked for me.
This error could be simply that there are few packaged not been installed.
This could be the fact that the react-native version was downgraded and so though those dependencies are listed in package.json they where uninstalled or never been installed.
For me it the error was resolved simply installing the following:
npm install expo-modules-core
npm install expo-constants
But a better approach if those dependencies are too many to install manually would be is to run npm ci as suggested here
The error for me is I forgot I had ejected to a bare workflow on a branch. Removing the android and iOS folders in the project solved it for me.
So, I have a happily working ASP.NET Core 1.0 app targeting net461 framework.
Today I tried to upgrade it to the new ASP.NET Core 1.1 (according to the instructions on this page all you need to do is a Nuget package upgrade)
This resulted in the following slew of errors:
error: Unable to resolve 'Microsoft.AspNetCore.Diagnostics.Abstractions (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
error: Unable to resolve 'Microsoft.AspNetCore.Hosting.Abstractions (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
error: Unable to resolve 'Microsoft.AspNetCore.Http.Extensions (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
error: Unable to resolve 'Microsoft.AspNetCore.WebUtilities (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
error: Unable to resolve 'Microsoft.Extensions.FileProviders.Physical (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
error: Unable to resolve 'Microsoft.Extensions.Logging.Abstractions (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
error: Unable to resolve 'Microsoft.Extensions.Options (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
error: Unable to resolve 'System.Diagnostics.DiagnosticSource (>= 4.3.0)' for '.NETFramework,Version=v4.6.1'.
error: Unable to resolve 'System.Reflection.Metadata (>= 1.4.1)' for '.NETFramework,Version=v4.6.1'.
error: Unable to resolve 'Microsoft.AspNetCore.Mvc.ApiExplorer (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
error: Unable to resolve 'Microsoft.AspNetCore.Mvc.Cors (>= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
...
what am I missing here? Shouldn't this just work?
For reference, here are the relevant sections of the project.json (before running the Nuget upgrade):
"dependencies": {
"Microsoft.AspNetCore.Mvc": "1.0.0",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
"Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
"Microsoft.Extensions.Configuration.Json": "1.0.0",
"Microsoft.Extensions.Logging": "1.0.0",
"Microsoft.Extensions.Logging.Console": "1.0.0",
"Microsoft.Extensions.Logging.Debug": "1.0.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
"Microsoft.AspNetCore.Diagnostics": "1.0.0",
"Microsoft.AspNetCore.StaticFiles": "1.0.0",
"Microsoft.AspNet.WebApi.Client": "5.2.3"
},
"tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final"
},
"frameworks": {
"net461": {
"imports": [
]
}
}
EDIT: after running the Nuget upgrade, the dependencies section was changed to this by Visual Studio:
"dependencies": {
"Microsoft.AspNet.WebApi.Client": "5.2.3",
"Microsoft.AspNetCore.Diagnostics": "1.1.0",
"Microsoft.AspNetCore.Mvc": "1.1.0",
"Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.1.0",
"Microsoft.AspNetCore.StaticFiles": "1.1.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
"Microsoft.Extensions.Configuration.FileExtensions": "1.1.0",
"Microsoft.Extensions.Configuration.Json": "1.1.0",
"Microsoft.Extensions.Logging": "1.1.0",
"Microsoft.Extensions.Logging.Console": "1.1.0",
"Microsoft.Extensions.Logging.Debug": "1.1.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0"
},
I finally figured it out, in case anyone else has the same problem.
There were three steps to make it work:
For some reason, the standard "Microsoft and .NET" Nuget feed was not including these packages.. I had to open the Nuget Settings and tick the "nuget.org" feed as well. Having done that it was able to restore the v1.1 packages
The blog post that I was referencing didn't mention that you need to open your global.json file and change the SDK Version to "1.0.0-preview2-1-003177" (for some reason, v1.1 still has an SDK called v1.0.0 -- any ideas what's going on there?!?)
Having done those two things, trying to run the app produced a 500 error, but after enabling stdoutLogEnabled in web.config you can see the exception is:
System.IO.FileLoadException: Could not load file or assembly
'System.Collections.Immutable, Version=1.2.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The
located assembly's manifest definition does not match the assembly
reference.
To solve this, you need to delete your application's bin folder and then rebuild (for some reason "Rebuild Solution" isn't enough). When you deploy to Production, presumably you'll also need to delete the bin folder there or you might get the same problem.
I suspected something similar to what #gallivantor mentioned in his #1, but somehow something kept rewriting the NuGet.config file behind the UI and when I re-started Visual Studio per #jim-w's suggestion, the NuGet.org item would go back to un-checked.
So I decided to look into the NuGet.config file and noticed that there were two sections: <packageSources> and <disabledPackageSources>. And the source with the NuGet.org key was in both. I tried to remove it from the disabled packages section and everything started working.
Before:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
<disabledPackageSources>
<add key="nuget.org" value="true" /> <!-- This is what I was referring to -->
</disabledPackageSources>
</configuration>
After:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration>
Warning: I omitted a number of details (in particular about the environment) to keep the answer simple. Before applying this solution to your situation make sure it is appropriate to your circumstances.
Looking at the recent changes to Sylius and the new interface, as well as the Roadmap which has beta 1.0 out in November, I'd love to update my development project to the newest version, and continue updating until the beta in November, at which point I'll stop and use this as the version which I finish development on. I see an old post here on SO about updating Sylius, but it's from 2014 and almost every package referenced is out of date. I'm looking for a fresh copy of a recent composer.json requirements list, or instructions on the easiest way to get my project up to date (without a total reinstall) so I can keep up until Beta 1.0. I'll attach my current composer.json require list, in case it's pertinant. Thanks!
"require": {
"php": "^5.6|^7.0",
"ext-exif": "*",
"ext-fileinfo": "*",
"ext-gd": "*",
"doctrine/collections": "~1.2",
"doctrine/common": "~2.5",
"doctrine/data-fixtures": "~1.1.0",
"doctrine/doctrine-bundle": "~1.3",
"doctrine/doctrine-cache-bundle": "~1.0",
"doctrine/doctrine-fixtures-bundle": "~2.2",
"doctrine/doctrine-migrations-bundle": "~1.0",
"doctrine/orm": "^2.4.8,<2.5",
"doctrine/phpcr-odm": "^1.3",
"friendsofsymfony/elastica-bundle": "^3.0.2",
"friendsofsymfony/oauth-server-bundle": "~1.4",
"friendsofsymfony/rest-bundle": "~1.5",
"fzaninotto/faker": "~1.2",
"gedmo/doctrine-extensions": "^2.4.12",
"incenteev/composer-parameter-handler": "~2.0",
"jackalope/jackalope": "^1.1.4",
"jackalope/jackalope-doctrine-dbal": "^1.1.2",
"jms/serializer-bundle": "^0.13|^1.0",
"jms/translation-bundle": "^1.1",
"knplabs/knp-gaufrette-bundle": "~0.1",
"knplabs/knp-menu-bundle": "~1.1",
"knplabs/knp-snappy-bundle": "~1.2",
"liip/imagine-bundle": "~1.0",
"ocramius/proxy-manager": "^1.0",
"omnipay/omnipay": "~2.3",
"payum/omnipay-bridge": "~1.0",
"payum/payum": "~1.3",
"payum/payum-bundle": "~2.1",
"php-http/guzzle6-adapter": "~1.1",
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
"sensio/distribution-bundle": "~3.0",
"stof/doctrine-extensions-bundle": "~1.1",
"swiftmailer/swiftmailer": "~5.0",
"symfony-cmf/block-bundle": "~1.2",
"symfony-cmf/content-bundle": "~1.2",
"symfony-cmf/create-bundle": "~1.2",
"symfony-cmf/media-bundle": "~1.2",
"symfony-cmf/menu-bundle": "~1.2",
"symfony-cmf/routing-bundle": "^1.4",
"symfony/assetic-bundle": "^2.8",
"symfony/monolog-bundle": "^2.8",
"symfony/polyfill-iconv": "~1.0",
"symfony/polyfill-intl-icu": "~1.0",
"symfony/polyfill-mbstring": "~1.0",
"symfony/swiftmailer-bundle": "^2.3",
"symfony/symfony": "^2.8",
"twig/extensions": "~1.0",
"twig/twig": "~1.11",
"webmozart/assert": "^1.0",
"white-october/pagerfanta-bundle": "~1.0",
"willdurand/hateoas-bundle": "^0.4|^1.0",
"winzou/state-machine-bundle": "~0.2",
"zendframework/zend-hydrator": "^1.0|^2.0",
"zendframework/zend-stdlib": "^2.0|^3.0",
"sonata-project/intl-bundle": "^2.2",
"payum/stripe": "^1.3"