While installing or updating Snyk, you may receive the following error from NPM:
error 404 Not Found - GET https://registry.npmjs.com/@snyk%2fgemfile - Not Found
error 404 '@email@example.com' is not in the npm registry.
error 404 You should bug the author to publish it (or use the name yourself!)
error 404 It was specified as a dependency of 'snyk'
npm ERR! 404 Not Found: @firstname.lastname@example.org
npm ERR! 404 '@email@example.com' is not in the npm registry.
To resolve this type of issue we have seen the following be successful:
npm cache clean --force
You can also reach further on Common errors in NPM here: https://docs.npmjs.com/common-errors