chown illegal group name & getting Error for bower

时间:2015-10-30 23:12:48

标签: json node.js macos command-line bower-install

In the command line when entering:

sudo chown joannak:joannak~/.config/configstore/insight-bower.json 

I get

chown: joannak: illegal group name. 

I am doing this because I am having an issue with trying to install anything with Bower. It keeps giving me this error:

Error: EACCES: permission denied, open '/Users/joannak/.config/configstore/insight-bower.json'
Error: EACCES: permission denied, open
You don't have access to this file.

I am working on a mac and am the administrator. How can I fix this. Thanks for your help!

I updated the syntax and stopped getting the illegal group name with the following:

sudo chown joannak: ~/.config/configstore/insight-bower.json

I just need to verify if Bower is working now.

1 个答案:

答案 0 :(得分:0)

我更新了语法并停止使用以下内容获取非法组名:

sudo chown joannak:〜/ .config / configstore / insight-bower.json