aidenybai / aidenybai/react-scan

0.5.0 stopped working in nextjs builds...

Aperta
#447 1 commento 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
21.8k
Fork
390
Merge medio
23m
PR unite (30g)
1

Descrizione

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.
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.