[ x ] Check if updating to the latest Preact version resolves the issue
Describe the bug
After the update, I got the following error:
wait - compiling...
error - ./node_modules/next-mdx-remote/dist/index.js:2:0
Module not found: Package path ./compat/jsx-runtime.js is not exported from package /home/user/Projects/bestnotebook-tech/node_modules/preact (see exports field in /home/user/Projects/bestnotebook-tech/node_modules/preact/package.json)
Import trace for requested module:
./node_modules/next-mdx-remote/index.js
./components/pages/home/MainSection.js
./components/pages/home/Home.js
./pages/index.js
Describe the bug After the update, I got the following error:
This is my package.json
It could somehow depend on
next-mdx-remote
, but I guess the export is the problem.To Reproduce
Steps to reproduce the behavior:
Expected behavior Should run.