Build errored out
npx create-vite-app <my-app>
when run build errored out:
{ [Error: ENOENT: no such file or directory, rmdir 'xxx/dist']
errno: -2,
code: 'ENOENT',
syscall: 'rmdir',
path: 'xxx/dist' }
need to manually create dist folder,maybe it needs to be automatic.
Environment Info:
Node: v10.19.0
npm: 6.13.4
npmPackages:"vite": "^0.5.1"