Home > Software engineering >  'MODULE_NOT_FOUND' Error on running npm run build in react
'MODULE_NOT_FOUND' Error on running npm run build in react

Time:04-27

I am trying to run "npm run build" in react; however, it return with 'MODULE_NOT_FOUND'. I have been trying to solve this issue, any help would be appreciated. I will attach the screenshot below.

enter image description here

CodePudding user response:

Try this:

  • remove the node_modules folder
  • then run npm install
  • Related