react-json-view icon indicating copy to clipboard operation
react-json-view copied to clipboard

:arrow_up: Updating the webpack version

Open VadimZvf opened this issue 1 year ago • 1 comments

Migration from webpack 4 to 5th version.

Webpack 4 doesn't work well with node v20. The dev mode fails with this error: Screenshot 2024-08-17 at 14 01 16

The error doesn't appear after I update the webpack version

VadimZvf avatar Aug 17 '24 12:08 VadimZvf

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-json-view ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 22, 2024 8:04pm

vercel[bot] avatar Aug 17 '24 12:08 vercel[bot]

Thanks for all your PRs. For reasons I don't know I didn't see the notifications for this repo.

Can you check test failing? 🙏

Kikobeats avatar Sep 11 '24 20:09 Kikobeats

Thanks for all your PRs. For reasons I don't know I didn't see the notifications for this repo.

Can you check test failing? 🙏

Ouch... I'm sorry, I missed that the react-base16-styling package is using the new ESM module type. The simplest fix will be a downgrading to the previous version, which is using CJS.

VadimZvf avatar Sep 22 '24 12:09 VadimZvf

Tests are still red. But it's an another problem, which exists in the master branch too. I mean, it's not directly related to this PR. The fix will be here - https://github.com/microlinkhq/react-json-view/pull/38

VadimZvf avatar Sep 22 '24 13:09 VadimZvf