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

Bug: The CJS build of Vite's Node API is deprecated #4325

Closed
5 tasks done
ah-kevin opened this issue Sep 5, 2024 · 2 comments
Closed
5 tasks done

Bug: The CJS build of Vite's Node API is deprecated #4325

ah-kevin opened this issue Sep 5, 2024 · 2 comments
Labels

Comments

@ah-kevin
Copy link

ah-kevin commented Sep 5, 2024

Version

Vben Admin V5

Describe the bug?

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.

Reproduction

项目拉下来,install, dev会直接有这个warn

System Info

Relevant log output

No response

Validations

@vince292007
Copy link
Collaborator

vince292007 commented Sep 6, 2024

unbuild 依赖的 jiti 这个包导致的,不影响使用。等后续 jiti 升级即可

@anncwb
Copy link
Collaborator

anncwb commented Oct 5, 2024

dev已经禁用这个提示。

@anncwb anncwb closed this as completed Oct 5, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants