
Try running ‘npm update -g npm‘ then run npm install again.
If that doesn’t work then 'npm cache clean' helps.
If that doesn’t work either you should consider removing the node_modules folder in your application and running npm i again.
If these two methods not working, then uninstall the nvm and reinstall it.