I having this issue where build success but deployment always fail due to dist
not found.
I’ve try to ls
the content of dist
and in the build script it shows that dist was populated, somehow the issue is still there.
dist/index.html 0.46 kB │ gzip: 0.30 kB
dist/assets/index-Cz0sA0Lr.css 1.91 kB │ gzip: 0.85 kB
dist/assets/index-CCYWY1BZ.js 1,193.63 kB │ gzip: 343.88 kB
(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 11.51s
assets
camera.glb
droid.glb
index.html
laptop.gltf
Error: No Output Directory named "dist" found after the Build completed. You can configure the Output Directory in your Project Settings.
Deployment URL or Custom Domain: not deployed
Environment (local, preview, production):
Project Framework: Vite
Build Settings:
Framework Preset:
Build Command (if not default): ": "tsc -b && vite build && ls dist"
Output Directory (if not default): "dist"
Install Command (if not default):"npm install"
Node/Runtime Version:
Package Manager:
Relevant Packages: