vite 问题记录

1,165 阅读1分钟

[vite] Internal server error: (0 , import_vite.transformWithEsbuild) is not a function

image.png

问题: pnpm serve 报错

解决: vite 升级。原版本 2.5.7, 升级后 2.7.8

vite升级: pnpm install vite@2.7.8