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

eas build --local fails to find zod #61

Open
chmac opened this issue Feb 11, 2025 · 0 comments
Open

eas build --local fails to find zod #61

chmac opened this issue Feb 11, 2025 · 0 comments

Comments

@chmac
Copy link
Member

chmac commented Feb 11, 2025

pkgx +pnpm +nodejs.org +cocoapods.org +fastlane +eas pnpm eas build --local -p ios --profile development-simulator
[EAGER_BUNDLE] Starting Metro Bundler
[EAGER_BUNDLE]
[EAGER_BUNDLE] iOS Bundling failed 3399ms src/index.ts (1263 modules)
[EAGER_BUNDLE]
[EAGER_BUNDLE] Unable to resolve module zod from /private/var/folders/h_/37qyvgn92xsb4bsdlh5phf1r0000gn/T/eas-build-local-nodejs/9af46fbe-9b31-4c2f-9694-aa0f929f78e3/build/nr-common/deps.ts: zod could not be found within the project.
[EAGER_BUNDLE] > 1 | import { z } from "zod";
[EAGER_BUNDLE]     |                    ^
[EAGER_BUNDLE]   2 | export { z };
[EAGER_BUNDLE]   3 |
[EAGER_BUNDLE] Error: Unable to resolve module zod from /private/var/folders/h_/37qyvgn92xsb4bsdlh5phf1r0000gn/T/eas-build-local-nodejs/9af46fbe-9b31-4c2f-9694-aa0f929f78e3/build/nr-common/deps.ts: zod could not be found within the project.
[EAGER_BUNDLE] > 1 | import { z } from "zod";
[EAGER_BUNDLE]     |                    ^
[EAGER_BUNDLE]   2 | export { z };
[EAGER_BUNDLE]   3 |
[EAGER_BUNDLE] Error: Unable to resolve module zod from /private/var/folders/h_/37qyvgn92xsb4bsdlh5phf1r0000gn/T/eas-build-local-nodejs/9af46fbe-9b31-4c2f-9694-aa0f929f78e3/build/nr-common/deps.ts: zod could not be found within the project.
[EAGER_BUNDLE] > 1 | import { z } from "zod";
[EAGER_BUNDLE]     |                    ^
[EAGER_BUNDLE]   2 | export { z };
[EAGER_BUNDLE]   3 |

@shuesken Looks like this is caused by the monorepo setup. :-(

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

1 participant