Not able to create new project with Ember

#1

running “ember new tracker” results in a crash in npm with a file permission error. I’ve submitted bug reports to Ember and npm. Anyone else trying this chapter in April 2019 having a similar problem?

#2

Turns out this is a known bug in npm on Mac. This comment on the npm community boards explains what to do: https://npm.community/t/error-in-npm-when-creating-new-ember-project/7175/3

tl;dr: sudo chown -R $(whoami) ~/.npm