Help needed for `npm run build` command

Hi everyone, I was following instructions for the MDN’s Deploying our app article and everything was going properly until I run npm run build command in the root of my project. Terminal throwed an error which I provided with a screenshot. I tried to find a solution by searching on the internet but I couldn’t succeed. Anyone please help me?
Thank you so much beforehand.

so I just tried the solution provided here and it also worked for me. However honestly I could not get what is going on under the hood. I do really appreciate for any explanation. I hope it help for others who are stuck with same issue.

Hi @bedribulut

I’m not knowledgable enough about the topic, but have you read @horusofoz’s longer explanation in this forum?

Maybe this shines a bit of light on it.

Michael

2 Likes

thank you so much @mikoMK,
yeap as you recommended, @horusofoz 's explanation was very helpful for me to comprehend this issue.
have a nice day.

2 Likes