this is the message that I ran into while using “npx create-react-app”
can anyone help?
There is an open issue with installing global packages using sudo leaving behind files with the wrong ownership. (But people are also having some other problems with create-react-app.)
The short version is run this to fix the ownership, then try create-react-app again:
sudo chown -R $(whoami) ~/.npm
The long version and canonical bug is: Global installs (sudo npm i -g) fail on Mac after 6.5 upgrade. Works fine after 6.4.1 downgrade.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.