いちいち原因究明やってられないから全クリア
% rm -rf node_modules
% npm cache clean --force
% rm -rf C:\Users\"HOGEHOGE"\AppData\Roaming\npm-cache
% nodenv uninstall "version"
% nodenv install "version"
% nodenv global "version"
% npm install -g npm@latest
More than 5 years have passed since last update.
いちいち原因究明やってられないから全クリア
% rm -rf node_modules
% npm cache clean --force
% rm -rf C:\Users\"HOGEHOGE"\AppData\Roaming\npm-cache
% nodenv uninstall "version"
% nodenv install "version"
% nodenv global "version"
% npm install -g npm@latest
Register as a new user and use Qiita more conveniently