Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#244 コメント 3 件 リアクション 3 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
22/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
nextjs, typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
TypeScript
スター
166
フォーク
45
平均マージ
13日 14時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nativewind/react-native-css のほかの issue

nativewind/react-native-css の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。