vbenjs/vben-admin-thin-next

TypeError: Cannot read property 'endsWith' of undefined

Sara2009 opened this issue · 0 comments

⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.

  • Read the docs.
  • Make sure the code is up to date. (Some bugs have been fixed in the latest code)
  • This is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.

Describe the bug

删除yarn.lock文件yarn install安装依赖,运行yarn dev,vite无法启动,报错:
image

Reproduction

Please describe the steps of the problem in detail to ensure that we can restore the correct problem

System Info

  • Operating System:
  • Node version:
  • Package manager (npm/yarn/pnpm) and version: