[v2] Error: has circular dependencies in this project

Aperta
#2,462 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
typescript, vite
Ambito
build-system

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
6.8k
Fork
717
Merge medio
5g 22h
PR unite (30g)
14

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TanStack/form

Tutte le issue di TanStack/form

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.