You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ENAMETOOLONG: name too long, mkdir '/vite-project-name/public/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build/build'
Reproduction
$ vite build
System Info
Output of npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers:
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Provide a description in this issue that describes the bug.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
@ravieeeee this is failing because the public dir and the out dir are the same. If you want to use public/build, the publicDir needs to be changed to another directory (or disabled, that is a feature that will be added soon)
Describe the bug
outDir option that has 2 depth throws ENAMETOOLONG error.
Reproduction
System Info
Output of
npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:Used package manager: npm
Logs
Before submitting the issue, please make sure you do the following
The text was updated successfully, but these errors were encountered: