简体   繁体   中英

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)

When you installing did you use 'sudo' or run as the root user? 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:

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

Assume you are running OS X, modify accordingly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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