【问题标题】:npm create-react-app helloworld not working [closed]npm create-react-app helloworld 不工作[关闭]
【发布时间】:2021-12-03 10:41:04
【问题描述】:

【问题讨论】:

  • 使用 npx 代替 npm。检查文档。对于创建反应应用程序

标签: node.js reactjs


【解决方案1】:

您想使用npx 运行create-react-app 而不是节点包管理器npm

如文档中所述:

npx create-react-app my-app
cd my-app
npm start

查看documentation的入门部分

【讨论】:

    猜你喜欢
    • 2019-11-19
    • 1970-01-01
    • 2022-01-23
    • 1970-01-01
    • 2021-01-03
    • 2019-02-18
    • 2019-03-13
    • 1970-01-01
    • 2021-02-01
    相关资源
    最近更新 更多