简体   繁体   English

在创建新的余烬应用程序时,我遇到凉亭车把错误

[英]On creating a new ember app i am getting bower handlebars error

Installed packages for tooling via npm.
EACCES, unlink '/home/tanan/.cache/bower/registry/bower.herokuapp.com/lookup/handlebars_b644d'
Error: EACCES
 unlink '/home/tanan/.cache/bower/registry/bower.herokuapp.com/lookup/handlebars_b644d'

Unable to identify this particular error Also if anybody knows how to install ember-cli as a notmarl user (not a root user) 无法识别此特定错误另外,如果有人知道如何以notmarl用户(不是root用户)身份安装ember-cli。

When you installing did you use 'sudo' or run as the root user? 在安装时,您使用'sudo'还是以root用户身份运行? For me the installer failed and I had not choice then I experienced the same issue. 对我来说,安装程序失败了,我别无选择,然后遇到了同样的问题。

Try and reset the permissions back from root to your user with these commands: 尝试使用以下命令将权限从root重置回您的用户:

sudo chown -R <you>:staff ~/.cache
sudo chown -R <you>:staff ~/.npm

Assume you are running OS X, modify accordingly. 假设您正在运行OS X,请进行相应的修改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM