【问题标题】:.react-scripts start : 'react-scripts' is not recognized as an internal or external command, operable program or batch file.react-scripts start : 'react-scripts' 不被识别为内部或外部命令、可运行程序或批处理文件
【发布时间】:2020-02-02 10:55:42
【问题描述】:

我在一个对象检测模型中工作,并将它与我使用 react 创建的前端链接起来。 在运行命令 npm start 时我发现了这个错误。i have shared an image for the error I am getting

【问题讨论】:

标签: node.js reactjs react-scripts


【解决方案1】:

此错误主要发生在 react-scripts 不存在于节点模块目录中时。

尝试手动添加 react-scripts :“npm install react-scrips --save”。

如果仍然遇到问题,请尝试运行“npm audit fix”。它主要解决了这个问题。

【讨论】:

    猜你喜欢
    • 2019-09-16
    • 2018-08-03
    • 2019-03-20
    • 2019-07-28
    • 2018-06-04
    • 1970-01-01
    • 1970-01-01
    • 2022-12-28
    • 2019-02-16
    相关资源
    最近更新 更多