【发布时间】:2020-05-28 10:38:52
【问题描述】:
安装 brew、watchman 和 node 后。我尝试从 Mac 机器上的终端启动我的第一个 react-native 应用程序。
当我运行React Native Development site 上所说的命令时 - React Native CLI Quickstart for macOS 和 iOS 目标。
npx react-native init AwesomeProject
我收到以下错误
EPERM: operation not permitted, chmod '/usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/server/external/xsel'
我以管理员身份登录,所以这不是问题,我什至尝试过“sudo”,但没有成功。
有人遇到过类似的问题吗?
提前致谢。
【问题讨论】:
标签: macos react-native mobile npx