expo / expo/eas-cli

Update fails with ENOENT on .css-external file during asset upload

Open
#3,055 1 comment 1 reaction 0 assignees View on GitHub
needs review
Dominant language
TypeScript
Stars
1.4k
Forks
236
Avg merge
3d 1h
Merged PRs (30d)
91

Description

### Build/Submit details page URL

_No response_

### Summary

🔍 Additional Context
I was using @lexical/react as part of my project. After removing it, the eas update command started working correctly. It seems the missing .css-external file issue was related to this package

When running `eas update`, the process fails during the asset upload step due to a missing .css-external file that doesn't exist in the project directory. Although the export and bundling complete successfully, the missing file causes the update to fail locally.
`ENOENT: no such file or directory, open '/Users/buraktekin/Desktop/Projects/app/dist/www.bundle/20429f90ab692383779e2d63cd32388a.css-external'`

At the same time, a related GitHub Actions workflow using `expo/expo-github-action/continuous-deploy-fingerprint@main `also fails with a generic error during the EAS command execution.
`Error running eas build command: Error: The process '/opt/hostedtoolcache/eas-cli/16.10.1/x64/node_modules/.bin/eas' failed with exit code 1`

I'm looking for support on why this file is required and how to resolve the issue.

### Environment

System:
OS: macOS 14.6.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.18.0 - ~/.nvm/versions/node/v20.18.0/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 10.8.2 - ~/.nvm/versions/node/v20.18.0/bin/npm
Watchman: 2025.03.10.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.15.2 - /Users/buraktekin/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 24.2, iOS 18.2, macOS 15.2, tvOS 18.2, visionOS 2.2, watchOS 11.2
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2412.12266719
Xcode: 16.2/16C5032a - /usr/bin/xcodebuild
npmPackages:
expo: ^53.0.4 => 53.0.11
expo-router: ~5.1.0 => 5.1.0
expo-updates: ~0.28.14 => 0.28.14
react: 19.0.0 => 19.0.0
react-dom: 19.0.0 => 19.0.0
react-native: 0.79.3 => 0.79.3
react-native-web: ^0.20.0 => 0.20.0
npmGlobalPackages:
eas-cli: 16.10.1
Expo Workflow: bare

### Error output

✔ Exported bundle(s)
- Uploading...
Loaded 2 platform(s): ios, android
- Uploading assetmap.json (0 / 29.9 KB)
✔ Uploaded assetmap.json
✖ Failed to upload
ENOENT: no such file or directory, open '/Users/buraktekin/Desktop/Projects/app/dist/www.bundle/20429f90ab692383779e2d63cd32388a.css-external'
[Error: ENOENT: no such file or directory, open '/Users/buraktekin/Desktop/Projects/app/dist/www.bundle/20429f90ab692383779e2d63cd32388a.css-external'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/Users/buraktekin/Desktop/Projects/app/dist/www.bundle/20429f90ab692383779e2d63cd32388a.css-external'
}
Error: update command failed.

### Reproducible demo or steps to reproduce from a blank project

Not sure how to reproduce this from a blank project — I haven’t identified what triggers the missing .css-external file error yet.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.