react-native-code-push icon indicating copy to clipboard operation
react-native-code-push copied to clipboard

code-push [error] permission denied, mkdir '/Users'

Open kevinTutu opened this issue 9 years ago • 4 comments

when I plan to code-push , I use the command like this:

But I get the reply like this:

I don't know the reason about this,who has the same problem?

kevinTutu avatar Dec 28 '16 06:12 kevinTutu

@kevinTutu, thanks for reporting this!

The error message is pretty uninformative and it's hard to determine, where the error occured. Could you please add a console.log(error.stack) line right after console.error(chalk.red("[Error] " + error.message)); in code-push main module - you can locate it by running which code-push - and then run command again. This would show where the error comes from.

vladimir-kotikov avatar Dec 28 '16 09:12 vladimir-kotikov

I do as you tell me ,but I didn't get the effective information,just print -- 'undefined',like this: and I add the console.log in command-executor file,like this: I get the information like this:

kevinTutu avatar Dec 29 '16 02:12 kevinTutu

@kevinTutu, were you able to find the cause of this error?

vladimir-kotikov avatar Jan 05 '17 07:01 vladimir-kotikov

yes,we have use our code-push server , the reason is out server problem,so sorry,I have thought code-push-cli problem,but is our problem

原始邮件 发件人:Vladimir [email protected] 收件人:Microsoft/[email protected] 抄送:[email protected]; [email protected] 发送时间:2017年1月5日(周四) 15:55 主题:Re: [Microsoft/react-native-code-push] code-push [error] permissiondenied, mkdir '/Users' (#658)

@kevinTutu, were you able to find the cause of this error? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

kevinTutu avatar Jan 12 '17 09:01 kevinTutu