rm -rf node_modules
npm install

Run Vite Build with Debug: Run Vite build with the debug flag to get more detailed logs.

DEBUG=vite:* npm run build

清除缓存并重试

尝试清除构建缓存并重新构建项目:

rm -rf node_modules/.vite
npm run build

Leave a reply

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

required