Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Expo SDK 52 #45

Open
dwightwatson opened this issue Nov 13, 2024 · 5 comments
Open

Support Expo SDK 52 #45

dwightwatson opened this issue Nov 13, 2024 · 5 comments

Comments

@dwightwatson
Copy link
Contributor

I'm not entirely certain what is going on here, but noting it here in case it's not just me. SDK 52 was released today, and after upgrading from 51 to 52 my app will no longer build on EAS.

env: load .env
env: export LOGGING_ENABLED
Starting Metro Bundler
iOS Bundling failed 7961ms node_modules/expo-router/entry.js (1446 modules)
Unable to resolve module .prisma/client/react-native from /Users/expo/workingdir/build/node_modules/@prisma/client/react-native.js: .prisma/client/react-native could not be found within the project or in these directories:
  node_modules
  1 | module.exports = {
> 2 |   ...require('.prisma/client/react-native'),
    |               ^
  3 | }
  4 |
Error: Unable to resolve module .prisma/client/react-native from /Users/expo/workingdir/build/node_modules/@prisma/client/react-native.js: .prisma/client/react-native could not be found within the project or in these directories:
  node_modules
  1 | module.exports = {
> 2 |   ...require('.prisma/client/react-native'),
    |               ^
  3 | }
  4 |
Error: Unable to resolve module .prisma/client/react-native from /Users/expo/workingdir/build/node_modules/@prisma/client/react-native.js: .prisma/client/react-native could not be found within the project or in these directories:
  node_modules
  1 | module.exports = {
> 2 |   ...require('.prisma/client/react-native'),
    |               ^
  3 | }
  4 |
    at ModuleResolver.resolveDependency (/Users/expo/workingdir/build/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:148:15)
    at DependencyGraph.resolveDependency (/Users/expo/workingdir/build/node_modules/metro/src/node-haste/DependencyGraph.js:235:43)
    at /Users/expo/workingdir/build/node_modules/metro/src/lib/transformHelpers.js:160:21
    at resolveDependencies (/Users/expo/workingdir/build/node_modules/metro/src/DeltaBundler/buildSubgraph.js:42:25)
    at visit (/Users/expo/workingdir/build/node_modules/metro/src/DeltaBundler/buildSubgraph.js:83:30)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 2)
    at visit (/Users/expo/workingdir/build/node_modules/metro/src/DeltaBundler/buildSubgraph.js:92:5)
    at async Promise.all (index 6)
    at visit (/Users/expo/workingdir/build/node_modules/metro/src/DeltaBundler/buildSubgraph.js:92:5)
npx expo export:embed --eager --platform ios --dev false exited with non-zero code: 1

I wonder if it is a change related to bundling in SDK 52, or perhaps some hook/event isn't firing when it previously did.

@sergiofra98
Copy link

I'm not entirely certain what is going on here, but noting it here in case it's not just me. SDK 52 was released today, and after upgrading from 51 to 52 my app will no longer build on EAS.

i have this issue too, the curious thing is that it only occurs during compile time, in expo go it works normally.

my target is SDK 34 and the minimum is 24.

I'm running open JDK and JRE 17, Android SDK with plaform and build-tools 35 and NDK 26.

Both local and cloud builds fail.

@piscopancer
Copy link

+1. Simply trying to do migrations on startup fails with error

Android Bundling failed 4099ms C:\dev\mobile\expo\slow\node_modules\expo-router\entry.js (3070 modules)
Unable to resolve ".prisma/client/react-native" from "node_modules\@prisma\client\react-native.js"

@abc-tiago
Copy link

I've tried everything and mine always gives the same error.
I'm trying to use expo 52 react native 0.76 and the version is recent from react-native-prisma

Even starting a project from scratch I can't get the lib to work

@EugeneGeek
Copy link

Tell me if the transition to version 0.76 of React Native will be implemented? If so, what is the approximate time frame?

@florentmsl
Copy link

I can confirm that it still fails. Sadly a dealbreaker for my project since I need to use RN 0.76. Does anyone know about some insights, how much effort it would be to make them compatible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants