Skip to content

fix(cli)+feat(box): el preview instala dependencias que faltan; Expo horneado en la imagen del Box - #1007

Merged
edgar-durand merged 2 commits into
mainfrom
fix/preview-install-missing-dep
Oct 31, 2026
Merged

edgar-durand merged 2 commits into
mainfrom
fix/preview-install-missing-dep

Conversation

@edgar-durand

@edgar-durand edgar-durand commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator
  • CLI: un node_modules/ construido antes de añadir expo se daba por instalado y «npx expo start» moría con ERR_SPAWN_FAILED (the module expo is not installed). Cualquier dependencia declarada sin carpeta dispara la instalación antes de arrancar.
  • Box: el CLI de Expo global y la caché de npm precalentada con el árbol de dependencias de una app Expo actual (resuelto con expo install), con el mismo contrato que mcp-warm (nunca rompe el build).

🤖 Generated with Claude Code

edgar-ph and others added 2 commits October 30, 2026 22:46
…from node_modules

A scratch Box whose agent added expo after an earlier install had a node_modules/ without it;
the pre-flight trusted the folder and 'npx expo start' died with ERR_SPAWN_FAILED
("the module `expo` is not installed"). Any declared dependency with no folder now triggers
the install first.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…pendency tree in the npm cache

Owner 2026-10-31: the in-app Preview of an Expo project on a Box downloaded the Expo CLI at
first use and then stalled on a project install. The image now ships `expo` globally and
prewarms /opt/npm-cache with an Expo SDK app's dependencies (resolved by `expo install`).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@edgar-durand edgar-durand changed the title fix(cli): el preview instala cuando falta una dependencia declarada fix(cli)+feat(box): el preview instala dependencias que faltan; Expo horneado en la imagen del Box Oct 31, 2026
@edgar-durand
edgar-durand merged commit d72edf4 into main Oct 31, 2026
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants