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

Custom EAS Build incorrectly evaluates path on Native Windows (WSL is fine) #2160

Closed
OlliePugh opened this issue Dec 20, 2023 · 4 comments · Fixed by #2285
Closed

Custom EAS Build incorrectly evaluates path on Native Windows (WSL is fine) #2160

OlliePugh opened this issue Dec 20, 2023 · 4 comments · Fixed by #2285

Comments

@OlliePugh
Copy link

Build/Submit details page URL

https://expo.dev/accounts/opugh/projects/rwg-client/builds/e6a39185-c5f7-4824-8ab0-a268cf3c659b

Summary

The path uses \ when on windows native, which escapes the characters in the path, so the pipeline can't find the build file.

Managed or bare?

Bare

Environment

expo-env-info 1.0.5 environment info:
System:
OS: Windows 10 10.0.19045
Binaries:
Node: 18.18.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 9.6.6 - ~\workspace\real-world-games\node_modules.bin\npm.CMD
IDEs:
Android Studio: AI-222.4459.24.2221.9971841
npmPackages:
expo: ~49.0.13 => 49.0.20
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.72.6 => 0.72.6
react-native-web: ~0.19.6 => 0.19.9
Expo Workflow: bare

✔ Check Expo config for common issues

✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check that native modules do not use incompatible support packages
✔ Check for legacy global CLI installed locally
✔ Check that native modules use compatible support package versions for installed Expo SDK
✔ Check that packages match versions required by installed Expo SDK

Error output

Failed to parse the custom build config file.
ENOENT: no such file or directory, open '/home/expo/workingdir/temporary-custom-build/client/.eas\build\development-build-android.yaml'

Reproducible demo or steps to reproduce from a blank project

create-expo-app on windows, then create .eas/build/build-name.yaml and execute it eas build -p android -e build-name

@OlliePugh OlliePugh added the needs review Issue is ready to be reviewed by a maintainer label Dec 20, 2023
@szdziedzic
Copy link
Member

Hi 👋 ,

Yeah, it seems like the issue. I can take a look at it and try to make it better 😄.

@expo-bot
Copy link
Contributor

Thank you for filing this issue!
This comment acknowledges we believe this may be a bug and there’s enough information to investigate it.
However, we can’t promise any sort of timeline for resolution. We prioritize issues based on severity, breadth of impact, and alignment with our roadmap. If you’d like to help move it more quickly, you can continue to investigate it more deeply and/or you can open a pull request that fixes the cause.

@szdziedzic
Copy link
Member

This should be fixed

@OlliePugh
Copy link
Author

Awesome! Thanks for taking a look at this!

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