The CJS build of Vite's Node API is deprecated
Opened this issue · 0 comments
usu commented
Following error message appears in frontend and pdf container:
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
Switch to ES6 modules:
- add
type: module
to all package.json (frontend, pdf, print) - search for usage of
module.exports
and sort them out or rename these files to *.cjs