The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
preciso de ajudar
estou com esse erro:
Unhandled rejection Error: EACCES: permission denied, open ‘/home/vitorfiletto/.npm/_cacache/tmp/79264870’
Podem me ajudar.
Your issue is a known problem with file ownership being broken by past uses of sudo with global installs. This was fixed in: Release: 6.10.2
The quick fix is:
sudo chown -R $USER ~/.npm
If you are able to update npm to avoid the problem happening again, upgrade npm and then run the chown again one last time to fix any issues from the upgrade itself.