cccicl
cccicl
发布于 1个月前

React Native 新创建的项目react-native run-android报错Error: EPERM: operation not permitted

新创建的项目,运行react-native run-android 弹出的Server报错(也就是单独运行react-native start报错)

Error: EPERM: operation not permitted, chmod '/Users/singcloud/Desktop/ReactNative/pc/node_modules/@react-native-community/cli/build/commands/server/external/xsel'

解决方法:

在项目目录下,运行(XX是你电脑的账户名)

sudo chown -R XX ./

©2020 edoou.com   京ICP备16001874号-3