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
error 404 '@snyk/gemfile@1.2.0' 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'
or
npm ERR! 404 Not Found: @snyk/dep-graph@1.4.1
npm ERR! 404 @snyk/gemfile@1.2.0 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.