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

Vite 5 warning - The CJS build of Vite's Node API is deprecated #26

Open
tvongaza opened this issue Nov 21, 2023 · 0 comments
Open

Vite 5 warning - The CJS build of Vite's Node API is deprecated #26

tvongaza opened this issue Nov 21, 2023 · 0 comments

Comments

@tvongaza
Copy link

I get the following warning on vite 5 which traces back to this plugin, see trace below. The warning references https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.

Trace: 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.
    at warnCjsUsage (/Users/tvongaza/aeon/aeonv2/node_modules/vite/index.cjs:32:3)
    at Object.<anonymous> (/Users/tvongaza/aeon/aeonv2/node_modules/vite/index.cjs:3:1)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
    at _require.extensions.<computed> [as .js] (file:///Users/tvongaza/aeon/aeonv2/node_modules/vitest/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:66343:17)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at Object.<anonymous> (/Users/tvongaza/aeon/aeonv2/node_modules/vite-plugin-full-reload/dist/index.cjs:5:13)
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

1 participant