S
SolidJS16mo ago
dmayo2

Netlify Fails to accept `dist`

I have many sites on Netlify from HUGO, and this is my first SolidJS. I ran npm run build and created the /dist dir. I drag that dir to netlify and it gives an error (but no error code). This is my first attempt. I searched here, didn't see anything relevant, and followed the directinos on netlify site (https://www.netlify.com/blog/how-to-deploy-solidjs/). "Looks like something went wrong!" No errors on build npm run build other than css/responsive.css doesn't exist at build time, it will remain unchanged to be resolved at runtime which are in /public/assets Any suggestions where/how to start my search?
1 Reply
dmayo2
dmayo216mo ago
I run locally npm run serve which is configed to vite preview and it works fine locally. Normally, Netlify fails when it's trying to serve or build. It's just not allowing an upload of solidjs dist/ folder Still can't figure this out, but I ended up linking Netlify to my repo and it works fine.