AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Update node version12/25/2023 Script deprecation warning: Node changed their distribution method, which requires adjusting configurations in order to upgrade. Reinstalling the current version of Ghost ensures that Node is updated correctly first, so that you can be sure that Ghost will update smoothly. It’s not recommended to update Node and Ghost at the same time. ghost update -force to force Ghost to reinstall your current version of Ghost, to trigger a re-install of dependencies.Run ghost version to get your current Ghost version.Download and import the Nodesource GPG key.Without reinstalling dependencies, Ghost will fail to start with strange error messages. This is because Ghost has several binary dependencies which are compiled for the specific Node.js version. When upgrading Node.js, you need to run the update for Node and then also re-install Ghost’s dependencies. You can also install multiple versions of node using nave or nvm. Ghost is a small team so we keep version support to a minimum to give us time to build new features □♀️Ĭompatible versions of Node.js can be downloaded from the Node.js releases page. Running Ghost on the latest version of Node.js is not guaranteed to work, and we’re unable to offer support for any issues. We use the recommended version of Node.js in production on Ghost(Pro) which means it’s heavily tested and issues are actively fixed by the Ghost core team.
0 Comments
Read More
Leave a Reply. |