expo / router

[ARCHIVE]: Expo Router has moved to expo/expo -- The File-based router for universal React Native apps

Home Page:https://docs.expo.dev/routing/introduction/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

exoer opened this issue · comments

commented

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

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.