React App: Why I get an error when I try to run npm start script?

前端 未结 1 670
感动是毒
感动是毒 2021-01-06 06:43

I installed all required packages and trying to run npm start script which gives me the error below:

TypeError [ERR_INVALID_ARG_TYPE]: The \"pat         


        
1条回答
  •  有刺的猬
    2021-01-06 06:47

    Upgrade your react-scripts to 3.4.0. I've just installed modules provided from your package.json and upgraded react-scripts to the newest version and everything works fine.

    More details on github issue.

    0 讨论(0)
提交回复
热议问题