When I create a fresh react app with vite and , without touching any file, i run the first npm install
to install the needed dependencies and then i run npm run build
and I try to run it locally with live server and it doesnt works by default. The console shows the following errors:
index-C12s4xJP.js:40 TypeError: n is not iterable
at Md (index-C12s4xJP.js:40:59308)
at yi (index-C12s4xJP.js:38:19478)
at Za (index-C12s4xJP.js:40:43712)
at Ya (index-C12s4xJP.js:40:39513)
at yd (index-C12s4xJP.js:40:39444)
at qr (index-C12s4xJP.js:40:39302)
at Fo (index-C12s4xJP.js:40:35719)
at Wa (index-C12s4xJP.js:40:34675)
at k (index-C12s4xJP.js:25:1562)
at MessagePort.sn (index-C12s4xJP.js:25:1930)
New contributor
simusicpie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.