expo / router

[ARCHIVE]: Expo Router has moved to expo/expo -- The File-based router for universal React Native apps
https://docs.expo.dev/routing/introduction/
1.37k stars 114 forks source link

eas update fails with web: {...output: static,...} #842

Closed exoer closed 1 year ago

exoer commented 1 year ago

Which package manager are you using? (Yarn is recommended)

None

Summary

When running eas update with output: static fails with the output

Can't read JSON file: ****/dist/metadata.json
├─ File: ****/dist/metadata.json
└─ Cause: Error: ENOENT: no such file or directory, open '****/metadata.json'

If I remove the "output": "static", the eas update-command works. But it seems like the bundler does not pick up the +html.tsx file,

Minimal reproducible example

npx create-expo-app@latest --template tabs@49

in application.json

      "bundler": "metro",      
      "output": "static",
      "favicon": "./assets/favicon.png"
    },

eas update

marklawlor commented 1 year ago

I'm unable to reproduce with the steps provided. Here's the steps I performed:

npx create-expo-app@latest --template tabs@49
# <project created>
cd <project directory>
eas update
# <followed prompts to create new eas project>

I'm going to close this issue as without any additional information we cannot assist further, but if you could provide more context/additional steps I'll be happy to reopen the issue.