"deprecated" warnings installing Ghost on fresh system

Greetings!

The setup:

  • Fresh Ubuntu 24
  • Using Node v20
  • Following the Ghost docs here: https://ghost.org/docs/install/ubuntu/
  • I followed every step in the doc no problem or error
  • no errors or issues until command:

sudo npm install ghost-cli@latest -g

The “deprecated” message:

Preparing to unpack …/nodejs_20.19.0-1nodesource1_amd64.deb …
Unpacking nodejs (20.19.0-1nodesource1) …
Setting up nodejs (20.19.0-1nodesource1) …
Processing triggers for man-db (2.12.0-4build2) …
####@#####:~$ sudo npm install ghost-cli@latest -g
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

added 596 packages in 1m

153 packages are looking for funding
run npm fund for details
npm notice
npm notice New major version of npm available! 10.8.2 → 11.2.0
npm notice Changelog: Release v11.2.0 · npm/cli · GitHub
npm notice To update run: npm install -g npm@11.2.0
npm notice

These warnings are fine :slight_smile:

I see that (in that I have everthing running)… but suggest taking steps to clean them up.

They are a bit alarming to new members of the ecosystem. And a tight sysadmin might push back on production deployments in the face of such messages. (I am just in scratch / dev environments so far)

fwiw!

You are using Ubuntu version 24.04, which is not compatible with ghost-cli. Install version 22.04 or 20.04, as stated in the documentation:

Ubuntu 20.04 or Ubuntu 22.04
NGINX (minimum of 1.9.5 for SSL)
A supported version of Node.js
MySQL 8
Systemd
A server with at least 1 GB of memory
A registered domain name