#npm run build issue on vs code editor
8 messages · Page 1 of 1 (latest)
Unless there is a missed closure above I done see anything wrong with the code snippet, maybe try putting the whole ternary on one line?
@edgy veldt I'm having this same issue & tried adding the ternary on one line but it didn't help 😦
An either of you share a GitHub link to the project?
Here you go: https://github.com/acsolis896/extra-tenzies.git
Hi @edgy veldt , thanks for your response. Additional information is it is already working in the Scrimba editor. I also tried the same with the final output Tenzie app made by the instructor on the lesson on Scrimba ,but the same issue occurred. https://scrimba.com/scrim/codb54f5daf4a46e7e9abe3db
Haven’t been able to check fully yet but see if your index . Html is linking to the proper file (main.jsx or index.js) sometimes scrimba adds an extra directory
@marsh shale It kinda looks like your project uses an older version of react. I think after 18 you import reactDOM from react-dom/client