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 #63

Closed
jiadesen opened this issue Feb 18, 2024 · 2 comments
Closed

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

jiadesen opened this issue Feb 18, 2024 · 2 comments
Assignees

Comments

@jiadesen
Copy link
Contributor

[email protected]
[email protected]

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/xxx/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/index.cjs:32:3)
    at Object.<anonymous> (/Users/xxx/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/index.cjs:3:1)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at Module.require (node:internal/modules/cjs/loader:1235:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.<anonymous> (/Users/xxx/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/vite-plugin-virtual-mpa/dist/index.js:88:19)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
image
@emosheeep
Copy link
Owner

This is resolved by #62, but I haven't published.

@emosheeep
Copy link
Owner

v1.10.1 has published.

@emosheeep emosheeep self-assigned this Feb 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

2 participants