aidenybai / aidenybai/react-scan

0.5.0 stopped working in nextjs builds...

オープン
#447 コメント 1 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
21.8k
フォーク
390
平均マージ
23分
マージ済み PR(30日)
1

説明

updated from 0.4 to 0.5.x and now our builds fail with this:

```bash
▲ Next.js 16.2.6 (webpack)
- Experiments (use with caution):
· proxyClientMaxBodySize: "60mb"
· serverActions

Creating an optimized production build ...
Failed to compile.

./node_modules/react-scan/dist/core/all-environments.mjs
Can't import the named export 'version' (imported as 'REACT_GRAB_VERSION') from default-exporting module (only default export is available)

Import trace for requested module:
./node_modules/react-scan/dist/core/all-environments.mjs
./src/common/components/ReactScan/index.tsx

./node_modules/react-scan/dist/core/all-environments.mjs
Can't import the named export 'version' (imported as 'REACT_GRAB_VERSION') from default-exporting module (only default export is available)

Import trace for requested module:
./node_modules/react-scan/dist/core/all-environments.mjs
./src/common/components/ReactScan/index.tsx

./node_modules/react-scan/dist/core/all-environments.mjs
Can't import the named export 'version' (imported as 'REACT_GRAB_VERSION') from default-exporting module (only default export is available)

Import trace for requested module:
./node_modules/react-scan/dist/core/all-environments.mjs
./src/common/components/ReactScan/index.tsx

./node_modules/react-scan/dist/core/all-environments.mjs
Can't import the named export 'version' (imported as 'REACT_GRAB_VERSION') from default-exporting module (only default export is available)

Import trace for requested module:
./node_modules/react-scan/dist/core/all-environments.mjs
./src/common/components/ReactScan/index.tsx

> Build failed because of webpack errors
Error: Process completed with exit code 1.
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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