Error with npm install plugins

I am getting this error with all plugins, if I comment out the first plugin nothing changes:

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-08-31T15_12_48_048Z-debug-0.log
Discovered plugin "cordova-plugin-listpicker". Adding it to the project
No scripts found for hook "before_plugin_add".
No version specified for cordova-plugin-listpicker, retrieving version from config.xml
No version for cordova-plugin-listpicker saved in config.xml or package.json
Attempting to use npm info for cordova-plugin-listpicker to choose a compatible release
npm info for cordova-plugin-listpicker did not contain any engine info. Fetching latest release
Calling plugman.fetch on plugin "cordova-plugin-listpicker"
fetch: Installing cordova-plugin-listpicker to /(AppMobile-Phonegap)ControlesMedicosPreventivos
Running command: npm install cordova-plugin-listpicker --save-dev
Command finished with error code 1: npm install,cordova-plugin-listpicker,--save-dev
Failed to restore plugin "cordova-plugin-listpicker". You might need to try adding it again. Error: CordovaError: Failed to fetch plugin cordova-plugin-listpicker via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
CordovaError: Error: npm: Command failed with exit code 1 Error output:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for cordova-plugin-speech-recognition@1.2.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-08-31T15_12_49_673Z-debug-0.log
Discovered plugin "cordova-universal-clipboard". Adding it to the project
No scripts found for hook "before_plugin_add".
No version specified for cordova-universal-clipboard, retrieving version from config.xml
No version for cordova-universal-clipboard saved in config.xml or package.json
Attempting to use npm info for cordova-universal-clipboard to choose a compatible release
npm info for cordova-universal-clipboard did not contain any engine info. Fetching latest release
Calling plugman.fetch on plugin "cordova-universal-clipboard"
fetch: Installing cordova-universal-clipboard to /(AppMobile-Phonegap)ControlesMedicosPreventivos
Running command: npm install cordova-universal-clipboard --save-dev
Command finished with error code 1: npm install,cordova-universal-clipboard,--save-dev
Failed to restore plugin "cordova-universal-clipboard". You might need to try adding it again. Error: CordovaError: Failed to fetch plugin cordova-universal-clipboard via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
CordovaError: Error: npm: Command failed with exit code 1 Error output:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for cordova-plugin-speech-recognition@1.2.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

Looks like an old project!

The first thing you need to do is fix this:

<engine name="android" spec="~8.0.0" />

Engine spec 8 is no longer supported - it’s a few years old. The current version is 11.0.0. Here’s more information on updating.

You may run into other issues - Google has made a lot of changes to Android. Feel free to ask for help here.

I made the changes indicated in the guide, which generates a correct build but when installing the application it does not advance from the splash screen. In the log I can see the following:

> Configure project :app
Error 'Plugin-Version' of 'unspecified' for 'com.android.build.gradle.AppPlugin@278ab7a0' is not a valid version number
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

Look through the entire log (yes, I know it’s long) and look for messages. There may be a clue there.

You need to figure out which plugin is causing the issue. Sometimes, the only way to do this is to exclude plugins until the problem goes away.