Monday, October 5, 2026
HomeiOS Developmentandroid - Getting construct errors after altering my node and expo-cli

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:

> Activity :expo-random:compileReleaseKotlin FAILED
e: /Customers/consumer/Desktop/Tasks/ProjectName/Frontend/Expo/node_modules/expo-random/android/src/essential/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/essential/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/essential/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/essential/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/essential/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/essential/java/expo/modules/random/RandomModule.kt: (12, 5): Unresolved reference: Identify
e: /Customers/consumer/Desktop/Tasks/ProjectName/Frontend/Expo/node_modules/expo-random/android/src/essential/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/essential/java/expo/modules/random/RandomModule.kt: (15, 5): Unresolved reference: AsyncFunction

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

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

Additionally in the identical module – ExpoRandom.

Every little thing labored completely superb earlier than my upgrades.

It appears to be some difficulty with Kotlin. I’ve googled every part 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 complete Android and iOS setup and redoing them totally.

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

What might trigger one thing like this?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments