npm won't install a package published just an hour ago
When I run
npm install multiple-cucumber-html-reporter
I get the following error:
If I run npm show @babel/generator version
it shows 7.19.5, but when I check this package on npmjs.com it shows that 7.19.6 was published an hour ago.1 Reply
It turns out my user
.npmrc
file was pointing the the company's private registry which obviously hadn't updated the public package to the recent version. I used the --userconfig=/dev/null
option for npm install
to ignore the local config and download straight from the public npm registry