xJoshWalker
xJoshWalker

Reputation: 457

Ember CLI ember new fails on ember-cli-qunit

I've been trying to use Ember CLI to set up a new ember install, but the process keeps dying when trying to install ember-cli-qunit. I'm relatively new to using npm, bower, and ember so maybe this could just be an issue with me being dumb. Here is the dump I get when running

ember new webapp

enter image description here

I've been working on this for a few hours and can't really figure out how to fix the issue.

Thanks in advance

Upvotes: 0

Views: 257

Answers (1)

Leeft
Leeft

Reputation: 3837

You must have ran bower as root at some point, and that would've changed the permissions of bower's cache files in your home directory (as per the error in the EACCESS line). Simply changing the permissions back to your own user (as root of course) should fix the problem.

Because of similar sudo problems driving me crazy (and the system's nodejs package being dated) I switched my setup to nvm: node version manager which installs everything to my own home directory instead and I never need to use root again for node-related installations.

Upvotes: 3

Related Questions