I am using Gatsby v1.1.52 running Node v8.11.3.
When I run gatsby serve
I am prompted with with message mentioning that there is an UPDATE AVAILABLE: The latest version of
serveis 9.1.0
. I've tried running npm update -g gatsby' and 'npm update -g gatsby-cli
.
I can't find any documentation: the manual entry does not exist, the options (gatsby ?
) doesn't include an update command and gatsby serve ?
only serves the website again.
I found a global npm package called serve but it is on version 5.6.0 and I don't think it is the same package that is being referred to in this instance but I am grasping at straws here.
Any ideas what command I need to run in order to update serve
?
Serves a theme for local development. Creates a local assets server and proxies the theme preview using a BrowserSync instance.
The npm install installs all modules that are listed on package. json file and their dependencies. npm update updates all packages in the node_modules directory and their dependencies.
For those not using Gatsby, here is how to update serve:
Globally: sudo npm update -g serve
Locally: npm update serve
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With