android – Getting construct errors after altering my node and expo-cli

[ad_1]

I’ve been banging my head on this drawback for the previous two days. I up to date my node model (however have tried to reset it) and my expo-cli, and I feel the issue could be associated to that.

That is the error:

> Job :expo-random:compileReleaseKotlin FAILED
e: /Customers/consumer/Desktop/Tasks/ProjectName/Frontend/Expo/node_modules/expo-random/android/src/fundamental/java/expo/modules/random/RandomModule.kt: (4, 21): Unresolved reference: kotlin
e: /Customers/consumer/Desktop/Tasks/ProjectName/Frontend/Expo/node_modules/expo-random/android/src/fundamental/java/expo/modules/random/RandomModule.kt: (5, 21): Unresolved reference: kotlin
e: /Customers/consumer/Desktop/Tasks/ProjectName/Frontend/Expo/node_modules/expo-random/android/src/fundamental/java/expo/modules/random/RandomModule.kt: (8, 22): Unresolved reference: Module
e: /Customers/consumer/Desktop/Tasks/ProjectName/Frontend/Expo/node_modules/expo-random/android/src/fundamental/java/expo/modules/random/RandomModule.kt: (11, 3): 'definition' overrides nothing
e: /Customers/consumer/Desktop/Tasks/ProjectName/Frontend/Expo/node_modules/expo-random/android/src/fundamental/java/expo/modules/random/RandomModule.kt: (11, 31): Unresolved reference: ModuleDefinition
e: /Customers/consumer/Desktop/Tasks/ProjectName/Frontend/Expo/node_modules/expo-random/android/src/fundamental/java/expo/modules/random/RandomModule.kt: (12, 5): Unresolved reference: Title
e: /Customers/consumer/Desktop/Tasks/ProjectName/Frontend/Expo/node_modules/expo-random/android/src/fundamental/java/expo/modules/random/RandomModule.kt: (14, 5): Interface Perform doesn't have constructors
e: /Customers/consumer/Desktop/Tasks/ProjectName/Frontend/Expo/node_modules/expo-random/android/src/fundamental/java/expo/modules/random/RandomModule.kt: (15, 5): Unresolved reference: AsyncFunction

With iOS, I both get a really comparable error, or, this:

comment: Incremental compilation has been disabled: it's not suitable with entire module optimization
Command CompileSwiftSources failed with a nonzero exit code

Additionally in the identical module – ExpoRandom.

Every thing labored completely high-quality earlier than my upgrades.

It appears to be some challenge with Kotlin. I’ve googled the whole lot I can that is remotely much like these errors, tried all kinds of instructions and completely nothing is fixing this. I am about one step away from simply nuking my whole Android and iOS setup and redoing them fully.

I’m on variations of those packages you’ll anticipate for my model of Expo, React Native, Expo Modules Core, and so forth.

What may trigger one thing like this?

[ad_2]

Leave a Reply