【问题标题】:when i am creating react file its giving me npx error当我创建反应文件时,它给了我 npx 错误
【发布时间】:2022-11-14 23:41:55
【问题描述】:
PS C:\Users\Anime\Desktop\Qspider\React Js> npx create-react-app react1
npx : The term 'npx' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the 
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ npx create-react-app react1
+ ~~~
    + CategoryInfo          : ObjectNotFound: (npx:String) [], CommandNotFoundException

请帮我解决这个问题,我已经使用 nvs 下载了节点。

【问题讨论】:

    标签: javascript node.js


    【解决方案1】:

    错误消息告诉您无法识别命令“npx”。这是因为“npx”命令是节点包管理器 (npm) 的一部分,需要单独安装。

    要安装 npm,请按照此处的说明进行操作:

    https://www.npmjs.com/get-npm

    【讨论】:

      【解决方案2】:

      您是否已经在您的计算机上安装了节点?

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2021-12-25
        • 1970-01-01
        • 2023-04-06
        • 1970-01-01
        • 2022-01-14
        • 1970-01-01
        • 2023-03-02
        相关资源
        最近更新 更多