Solid Start rc.11 depends on a published Start Server Core without the request-scope export

Ouverte
#8,964 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@brenelz y travaille déjà.

Depuis le 22/11/2026.

  • #8973 par @brenelz — ouverte

Évaluation

Difficulté
2/5
Temps estimé
1-3 heures
Accessibilité débutants
58/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
bun, node.js, typescript, vite

Piste de recherche

Start with the createSolidStartHandler.js import and the @tanstack/[email protected] package exports; the issue links to both published files. Reproduce the resolution error using the provided Node command, then check the existing export change in #8937 and how the next RC selects its dependency. Done when the declared published dependency resolves @tanstack/start-server-core/request-scope and the SSR build succeeds.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Which project does this relate to?

Start

Describe the bug

@tanstack/[email protected] imports @tanstack/start-server-core/request-scope in createSolidStartHandler.js. Its pinned dependency, @tanstack/[email protected], omits ./request-scope from exports. This blocks the SSR build with Vite and the Cloudflare plugin.

Complete minimal reproducer

The released packages reproduce the resolution error in an empty directory. The Solid Start import and the Start Server Core manifest are also available directly.

Steps to Reproduce the Bug
mkdir solid-start-rc11-repro
cd solid-start-rc11-repro
bun add [email protected] @solidjs/[email protected] @tanstack/[email protected]
node --experimental-import-meta-resolve --input-type=module - <<'JS'
const from = import.meta.resolve("@tanstack/solid-start/package.json")
console.log(import.meta.resolve("@tanstack/start-server-core/request-scope", from))
JS

Node reports ERR_PACKAGE_PATH_NOT_EXPORTED for ./request-scope.

Expected behavior

The published Solid Start RC resolves its server entry with the dependency versions it declares.

Platform
  • Solid Start 2.0.0-rc.11, Start Server Core 1.169.45, Solid 2.0.1
  • Node 24.22.2, Bun 1.4.4, Vite 8.3.7, macOS arm64
Additional context

#8937 already adds the export on solid-router-v2-pre. Could the next RC depend on a published Start Server Core build that includes it? As a local workaround, exposing ./dist/esm/internal-request-response.js at that subpath in 1.169.45 allowed the SSR build and Workerd route smoke tests to pass.

AI-assisted report with the reproducer run locally.

Langage dominant
TypeScript
Étoiles
15.3k
Forks
1.9k
Merge moyen
1 j 5 h
PR mergées (30 j)
46

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de TanStack/router

Toutes les issues de TanStack/router

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.