Failed to construct transformer: Error: Cannot parse /home/expo/.nvm/test/fast/Unit tests/mocks/project_dirs/nested-both/package.json as JSON: Unexpected end of JSON input #2233
Labels
needs review
Issue is ready to be reviewed by a maintainer
Build/Submit details page URL
https://expo.dev/accounts/pencilcheck/projects/plushie-hellheim/builds/e12ed968-282a-4b5f-9eee-ea46f7873400
Summary
I already tried the expo doctor and
npx expo install --check
once, but it still give the same error. It was working with the old dependencies. I don't know why once I do 1) add local credentials to eas.json 2) and installreact-native-iap
, this issue started to happen on a new bundle identifier.I also seen some suggested monorepo issue, but mine is not a monorepo.
Basically it used to build, but now it is showing this error.
BTW, I can eas build locally. This is a expo remote env issue. I have a feeling it has something to do with nvm. but i'm not sure.
ALSO, I tried development env and it worked, with the same code (perhaps the real issue is the lack of developmentClient?)
Actually I just tested by adding developmentClient to preview and it worked
For some reason anything other than development wouldn't work, I used "preview" and "production" and none of them worked.
Managed or bare?
bare
Environment
Error output
Reproducible demo or steps to reproduce from a blank project
I don't know how to reproduce it with a small project since I have a lot of dependencies and project sensitive configuration.
The text was updated successfully, but these errors were encountered: