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.
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