Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: npm deprecation warnings #9

Open
Af0x opened this issue Mar 17, 2024 · 4 comments
Open

[bug]: npm deprecation warnings #9

Af0x opened this issue Mar 17, 2024 · 4 comments
Labels
bug Something isn't working triage Triage

Comments

@Af0x
Copy link

Af0x commented Mar 17, 2024

FreePBX Version

FreePBX 17

Issue Description

Following npm deprecation warnings are in my logs.

Operating Environment

Fresh Debian 12, FreePBX installation with Beta skript

Relevant log output

npm WARN deprecated [email protected]: This version of 'is-buffer' is out-of-date. You must update to v1.1.6 or newer

npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
@Af0x Af0x added bug Something isn't working triage Triage labels Mar 17, 2024
@kguptasangoma
Copy link
Member

Hi @Af0x

For which module installation you got these npm warning? Could you please share more details?

Thanks

@Af0x
Copy link
Author

Af0x commented Mar 18, 2024

Checking ucp...
Signature Invalid
	Refreshing ucp
Starting module download from https://mirror.freepbx.org/modules/packages/ucp/ucp-17.0.4.12.tgz.gpg ...
Processing 
Downloading...
       0/4470089 [>---------------------------]   0%
  447456/4470089 [==>-------------------------]  10%
  894464/4470089 [=====>----------------------]  20%
 1341472/4470089 [========>-------------------]  30%
 2235632/4470089 [==============>-------------]  50%
 3129648/4470089 [===================>--------]  70%
 4470089/4470089 [============================] 100%
Finished downloading
Extracting...Done
Module https://mirror.freepbx.org/modules/packages/ucp/ucp-17.0.4.12.tgz.gpg successfully downloaded
Updating tables ucp_sessions...Done
System : debian
Installing/Updating Required Libraries. This may take a while...The following messages are ONLY FOR DEBUGGING. Ignore anything that says 'WARN' or is just a warning
npm WARN deprecated [email protected]: This version of 'is-buffer' is out-of-date. You must update to v1.1.6 or newer
npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
Installed npm-cache v0.7.0
Running installation..
[npm-cache] [INFO] using /home/asterisk/.package_cache as cache directory
[npm-cache] [INFO] [composer] Dependency config file /var/www/html/admin/modules/ucp/node/composer.json does not exist. Skipping install
[npm-cache] [INFO] [npm] config file exists
[npm-cache] [INFO] [npm] cli exists
[npm-cache] [INFO] [npm] hash of /var/www/html/admin/modules/ucp/node/package.json: f05cb602e1e1d71218102eca2200f753
[npm-cache] [INFO] [npm] cache exists
[npm-cache] [INFO] [npm] clearing installed dependencies at /var/www/html/admin/modules/ucp/node/node_modules
[npm-cache] [INFO] [npm] ...cleared
[npm-cache] [INFO] [npm] retrieving dependencies from /home/asterisk/.package_cache/npm/9.2.0/f05cb602e1e1d71218102eca2200f753.tar.gz
[npm-cache] [INFO] [bower] Dependency config file /var/www/html/admin/modules/ucp/node/bower.json does not exist. Skipping install
[npm-cache] [INFO] [npm] done extracting
[npm-cache] [INFO] successfully installed all dependencies

@Af0x
Copy link
Author

Af0x commented Mar 18, 2024

ealier in the install log

Installing FreePBX 17 modules..
Installing: pbxmfa, restapps, sangomaconnect, sangomartapi, setcid, sipstation, sms, smsplus, ucp, webrtc
Installing pbxmfa...
Detected Missing Dependency of: ucp 17.0.1
Found local Dependency of: ucp 17.0.4.12
Installing Missing Dependency of: ucp 17.0.1
Updating tables ucp_sessions...Done
System : debian
Installing/Updating Required Libraries. This may take a while...The following messages are ONLY FOR DEBUGGING. Ignore anything that says 'WARN' or is just a warning
npm WARN deprecated [email protected]: This version of 'is-buffer' is out-of-date. You must update to v1.1.6 or newer
npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
Installed npm-cache v0.7.0
Running installation..
[npm-cache] [INFO] using /home/asterisk/.package_cache as cache directory
[npm-cache] [INFO] [composer] Dependency config file /var/www/html/admin/modules/ucp/node/composer.json does not exist. Skipping install
[npm-cache] [INFO] [npm] config file exists
[npm-cache] [INFO] [npm] cli exists
[npm-cache] [INFO] [npm] hash of /var/www/html/admin/modules/ucp/node/package.json: f05cb602e1e1d71218102eca2200f753
[npm-cache] [INFO] [npm] running [npm install]...
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: this package is deprecated please use https://github.com/xmppjs/xmpp.js
npm WARN deprecated [email protected]: this package is deprecated please use https://github.com/xmppjs/xmpp.js
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this package is deprecated please use https://www.npmjs.com/package/@xmpp/client

added 161 packages, and audited 162 packages in 10s

14 packages are looking for funding
  run `npm fund` for details

3 moderate severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
[npm-cache] [INFO] [npm] installed npm dependencies, now archiving
[npm-cache] [INFO] [npm] archiving dependencies from /var/www/html/admin/modules/ucp/node/node_modules
[npm-cache] [INFO] [bower] Dependency config file /var/www/html/admin/modules/ucp/node/bower.json does not exist. Skipping install
[npm-cache] [INFO] [npm] installed and archived dependencies
[npm-cache] [INFO] successfully installed all dependencies

@Af0x
Copy link
Author

Af0x commented Mar 18, 2024

and this

Installing sangomaconnect...
Detected Missing Dependency of: sms 17.0.1
Found local Dependency of: sms 17.0.1.5
Installing Missing Dependency of: sms 17.0.1
Updating tables sms_messages, sms_dids, sms_routing, sms_media, sms_webhooks...Done
Generating CSS...Done
Installed Missing Dependency of: sms 17.0.1
Detected Missing Dependency of: webrtc 17.0.1
Found local Dependency of: webrtc 17.0.2.1
Installing Missing Dependency of: webrtc 17.0.1
Updating tables webrtc_clients...Done
Generating CSS...Done
Installed Missing Dependency of: webrtc 17.0.1
Updating tables sangomaconnect_user_pre_setup, sangomaconnect_user_setup, sangomaconnect_user_device, sangomaconnect_sngphone_sms_routing, sangomaconnect_phone_locations, sangomaconnect_account_phone_locations...Done
Changing Websocket Mode to PJSIP
Increasing HTTP Session Limit
No PBXID file found, not registering module to cloud.
Checking module cloud activation status
System not activated, cannot perform cloud activation
Initializing node dependencies
Found npm-cache v0.7.0
Running installation..
[npm-cache] [INFO] using /home/asterisk/.package_cache as cache directory
[npm-cache] [INFO] [composer] Dependency config file /var/www/html/admin/modules/sangomaconnect/node/composer.json does not exist. Skipping install
[npm-cache] [INFO] [npm] config file exists
[npm-cache] [INFO] [npm] cli exists
[npm-cache] [INFO] [npm] hash of /var/www/html/admin/modules/sangomaconnect/node/package.json: a386f4a77785ce2c5562d106a52cef80
[npm-cache] [INFO] [npm] running [npm install]...
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

added 89 packages, and audited 90 packages in 8s

15 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
[npm-cache] [INFO] [npm] installed npm dependencies, now archiving
[npm-cache] [INFO] [npm] archiving dependencies from /var/www/html/admin/modules/sangomaconnect/node/node_modules
[npm-cache] [INFO] [bower] Dependency config file /var/www/html/admin/modules/sangomaconnect/node/bower.json does not exist. Skipping install
[npm-cache] [INFO] [npm] installed and archived dependencies
[npm-cache] [INFO] successfully installed all dependencies

Finished updating libraries!
SangomaConnect Server is not running
SangomaConnect module installed but not activated. Please buy a license and activate the module
Generating CSS...Done
Module sangomaconnect version 17.0.1.11 successfully installed
Updating Hooks...Done
Chowning directories...Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Triage
Projects
None yet
Development

No branches or pull requests

2 participants