Rocky 8 scopserv_yum update npm warn cli npm v10.9.1 does not support Node.js v16.8.0.

Rocky 8 scopserv_yum update npm warn cli npm v10.9.1 does not support Node.js v16.8.0.

If you see this error when doing a Rocky 8 scopserv_yum update

Updating   : scopserv-api-v3-8.0.12.0.20250206-1.el7.scopserv.x86_64                                                                                                                                   5/16 
npm warn cli npm v10.9.1 does not support Node.js v16.8.0. This version of npm supports the following node versions: `^18.17.0 || >=20.5.0`. You can find the latest version at https://nodejs.org/.
npm error Object.hasOwn is not a function
  Updating   : scopserv-api-events-8.0.0.9.20250206-1.el7.scopserv.x86_64                                                                                                                                6/16 
npm warn cli npm v10.9.1 does not support Node.js v16.8.0. This version of npm supports the following node versions: `^18.17.0 || >=20.5.0`. You can find the latest version at https://nodejs.org/.
npm error Object.hasOwn is not a function

Perform these steps:

curl --silent --location https://rpm.nodesource.com/setup_20.x | bash -
rpm -e nodejs --nodeps
scopserv_yum install nodejs

Verify update

npm -v

Verify service status

service scopserv_realtime fullstatus




    • Related Articles

    • Rocky 8 - ScopTel Installation Guide

      Upgrades from previous Operating Systems C6-C7 Backup and restore procedure is required to upgrade from previous Operating Systems. Before formatting/installing an existing system ensure you have a working backup. The recommended backup and restore ...
    • CentOS 5 Official Support Closure

      CentOS 5 Official Support Closure As previously advised in the ScopServ blogs and ScopNEWS, CentOS 5 has now officially reached its End Of Life date. As a result, CentOS has officially shutdown their official repositories for CentOS EL5. From now, if ...
    • Fin du support pour CentOS 5

      Fin du support pour CentOS 5 Tel que nous l’avons précédemment mentionné dans notre Blog et dans le ScopNEWS, CentOS 5 a atteint sa fin de vie. CentOS a donc officiellement fermé le référentiel pour CentOS EL5. À partir de maintenant, si vous mettez ...
    • How to update to dahdi 3.3.0-4 in EL7 and Rocky 8 with full dkms support for multiple kernels.

      Make sure the ScopTEL license is downloaded and in an entitled state. scopserv_yum update Check dahdi build status with the following command: dkms status Example: [root@scopserv ~]# dkms status dahdi/3.3.0-4.el7.scopserv, ...
    • Yealink Phones do not download provisioning files after updating to scopserv-telephony25-5.2.24.0.2014060

      During the finalization of APS support for Yealink Version 72 firmware, ScopServ included a configuration line in Yealink <MAC>.cfg files which broke the phone’s ability to download edited <MAC>.cfg files after the initial configuration download.  ...