Issues for me running on Linux 2021.10

I am using to deploy the projects.

When I built the project , It was always successfully built on the version Linux 2021.09 or earlier for Android devices. But it failed on the latest version Linux 2021.10. error message: Failed to restore plugin…

Failed to restore plugin “cordova-plugin-battery-status”. You might need to try adding it again. Error: CordovaError: Failed to fetch plugin cordova-plugin-battery-status@~1.1.1 via registry.
[21:27:24]: ▸ Probably this is either a connection problem, or plugin spec is incorrect.
[21:27:24]: ▸ Check your connection and plugin name/version/URL.
[21:27:24]: ▸ CordovaError: Error: npm: Command failed with exit code 1 Error output:

I tried many changes to make it work but failed.
Could you please figure out what it is happening?