Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The CJS build of Vite's Node API is deprecated #5392

Open
usu opened this issue Jun 18, 2024 · 0 comments
Open

The CJS build of Vite's Node API is deprecated #5392

usu opened this issue Jun 18, 2024 · 0 comments

Comments

@usu
Copy link
Member

usu commented Jun 18, 2024

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
@BacLuc BacLuc added the Meeting Discuss Am nächsten Core-Meeting besprechen label Jun 18, 2024
@manuelmeister manuelmeister removed the Meeting Discuss Am nächsten Core-Meeting besprechen label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants