'react-scripts' is not recognized as an internal or external command

前端 未结 18 2330
清歌不尽
清歌不尽 2020-11-30 00:21

I\'ve got a maven project, within which is JavaScript project cloned as a git sub-module. So the directory structure looks something like

mavenapp/src/main/jav

18条回答
  •  死守一世寂寞
    2020-11-30 01:01

    It is an error about react-scripts file missing in your node modules directory at the time of installation.

    Check your react-script dependency is avaliable or not in package.json

    If not available then add manually via:

    npm install react-scripts --save

提交回复
热议问题