so im using the npm run build
build script, its the one that's in the package.json of my project, and everything builds properly, but its when i get to the page, that i see these error in the console, and react doesnt execute, page wont load.
i dont have my publish directory path set so i assume thats the issue
but i really dont know what path to set for the vite-react project
(vite is what im using to build this project, yes)
package.json file
heres the structure of my project and manifest file is inside the public folder
heres whats inside of public folder
managed some things out, changed the manifest file from public folder to root
but still giving me this error in the index.jsx script
How are you serving the site?
wdtm??
serving the site?
uhh it gets the files from a github project i push my files into
then netlify just builds the app from there
these are my deploy settings
I’ve never used Netlify, but it looks like you might be serving the root directory of your project instead of dist/
?
hmmmm
dist?
Vite puts the compiled code in dist/
ooo alr alr
tysm
If your issue has been solved, you can close this post by adding “[SOLVED]” to the beginning of the title
yessir ty
[SOLVED] weird errors on netlify build (vite-react)
also, just for the note, manifest went back into the public folder
Recommended threads
- Got message for auto payment of 15usd fo...
how did this happen? 1. i claimed my 50usd credits via jsm hackathon - https://hackathon.jsmastery.pro/ 2. it asked me which org. to apply the credits on, i se...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...