[v2] Error: has circular dependencies in this project

Offen
#2,462 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
22/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
typescript, vite
Bereich
build-system

Rechercherichtung

The payload names no files or tests. The only lead is the error from the vite-plugin-circular-dependency plugin, raised during generateBundle, on TanStack Form v2-alpha.3. The reporter gives no reproduction, so the first step is building a minimal project that triggers the error and finding the import cycle it reports. Done means either the cycle is identified and fixed, or the maintainers confirm the plugin is misconfigured. The issue was filed after a Discord discussion, so check there for context.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area: runtime scope: preact scope: react type: bug v2
Describe the bug

Hi, as discussed in discord, I created this issue just to mention the issue we have regarding the circular dependency.

[plugin vite-plugin-circular-dependency]
Error: has circular dependencies in this project
at PluginContextImpl.generateBundle

Don't hesitate to ping me if you need more info.

Your minimal, reproducible example

N/A

Steps to reproduce

N/A

Expected behavior

No circular dependency error

How often does this bug happen?

None

Screenshots or Videos

No response

Platform

macOS

TanStack Form adapter

None

TanStack Form version

v2-alpha.3

TypeScript version

No response

Additional context

No response

Vorherrschende Sprache
TypeScript
Sterne
6.8k
Forks
717
Ø Merge
5 T. 22 Std.
Gemergte PRs (30 T.)
14

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus TanStack/form

Alle Issues in TanStack/form

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.