Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

[V5] Error in Next 16: Module not found: Can't resolve 'nativewind/jsx-dev-runtime'

Offen
#244 3 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 3 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
22/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
nextjs, typescript

Rechercherichtung

Start with the reproduction repo linked in the issue and the jsxImportSource setting in tsconfig.json, then check whether the nativewind package's exports map provides a jsx-dev-runtime entry under Next 16's resolver. Done means the Next 16 example builds with the className styles applied. The thread has gone quiet for about eight months and has no linked pull request, so confirm with a maintainer that the bug still reproduces before investing time.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

deferred (post-5.0)

When I added "jsxImportSource": "nativewind" to the tsconfig.json file. NextJS returns an error:

Module not found: Can't resolve 'nativewind/jsx-dev-runtime'

If I remove that value from tsconfig.json, the button is displayed, but without className, so no styles.

Reproduction

https://github.com/albertcito/turborepo

Vorherrschende Sprache
TypeScript
Sterne
166
Forks
45
Ø Merge
13 T. 14 Std.
Gemergte PRs (30 T.)
1

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 nativewind/react-native-css

Alle Issues in nativewind/react-native-css

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

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