-
Notifications
You must be signed in to change notification settings - Fork 85
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
Build failed: "Error: Cannot find module '../lightningcss.linux-x64-gnu.node'" #2727
Comments
What happens if you run |
I checked the mentioned path and entry.js file exists despite the error. |
It doesn't seem to work too well on Windows 😅. I will let Expo CLI folks know about it. Do you use CNG? If so it would be good to add the |
Thanks!
I tried adding I made a copy of project again, deleted everything related to nativewind and no longer got the error. It seems nativewind requires lightningcss and I guess it is related to Although as a workaround to building without removing nativewind, I added |
related: expo/expo#33340 (comment) |
Build/Submit details page URL
https://expo.dev/accounts/soheilxpawn/projects/german-term-new-arch/builds/5647d5e9-5f71-4327-93d8-034e78f1a281
Summary
I want to build an APK of my app for android with "eas build -p android --profile preview" command but in EAS I get error in bundle javascript step:
Error: Cannot find module '../lightningcss.linux-x64-gnu.node'
I don't get this error using "npx expo run:android" command and app works without any errors in android emulator.
Managed or bare?
Bare
Environment
npx expo-env-info:
npx expo-doctor:
Error output
No response
Reproducible demo or steps to reproduce from a blank project
eas.json:
package.json:
metro.config.js:
The text was updated successfully, but these errors were encountered: