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 '@firstname.lastname@example.org' 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: @email@example.com
npm ERR! 404 @firstname.lastname@example.org is not in the npm registry.
Using the following has successfully resolved the issue:
npm cache clean --force
For additional information about common errors in npm see https://docs.npmjs.com/common-errors.