I am unable to update Gatsby from 1.9.261 to 1.9.267
Run npm update or npm install [email protected]
No E404 errors
404 Not Found: serve@^6.4.0
npm list gatsby): 1.9.261gatsby --version): 1.1.57something funky is happening for me too when trying to install gatsby-cli's dependency serve
i'm getting this when running: yarn add global gatsby-cli
ryanchang ~/projects/gatsby-fun % yarn add global gatsby-cli
yarn add v1.7.0
warning ../../package.json: No license field
info No lockfile found.
[1/4] 🔍 Resolving packages...
⠁ (node:87453) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
warning gatsby > [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
warning gatsby > [email protected]: 'postcss-cssnext' has been deprecated in favor of 'postcss-preset-env'. Read more at https://moox.io/blog/deprecating-cssnext/
error Couldn't find package "serve@^6.4.0" required by "gatsby@^1.9.247" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
i get the same error
npm ERR! 404 Not Found: serve@^6.4.0
temp workaround found here: https://github.com/zeit/serve/issues/398#issuecomment-394041910
I think this was a temporary npm issue. Closing, but please comment or re-open if you're still seeing this.
Most helpful comment
temp workaround found here: https://github.com/zeit/serve/issues/398#issuecomment-394041910