最新消息: 电脑我帮您提供丰富的电脑知识,编程学习,软件下载,win7系统下载。

运行`npx react

IT培训 admin 12浏览 0评论

运行`npx react

我最近擦除了硬盘驱动器,并将MacOS升级到了Catalina。现在第一次在zsh上运行。我安装了Homebrew,然后安装了节点v12.14.1,运行node --version时可以确认。当我尝试使用npx react-native init初始化React-Native应用程序时,出现以下错误:

Command failed: '/usr/local/Cellar/node@12/12.14.1_1/bin/node' '/usr/local/Cellar/node@12/12.14.1_1/lib/node_modules/npm/bin/npm-cli.js' config get cache --parseable

有什么建议吗?

回答如下:

运行`npx react

我最近擦除了硬盘驱动器,并将MacOS升级到了Catalina。现在第一次在zsh上运行。我安装了Homebrew,然后安装了节点v12.14.1,运行node --version时可以确认。当我尝试使用npx react-native init初始化React-Native应用程序时,出现以下错误:

Command failed: '/usr/local/Cellar/node@12/12.14.1_1/bin/node' '/usr/local/Cellar/node@12/12.14.1_1/lib/node_modules/npm/bin/npm-cli.js' config get cache --parseable

有什么建议吗?

回答如下:

与本文相关的文章

发布评论

评论列表 (0)

  1. 暂无评论