Build failing due to not able to correct plugin file

THere is a plugin file which I need to edit, but how do I edit.

The build error shows-


Executing script found in plugin cordova-plugin-crypt-file for hook "after_prepare": plugins/cordova-plugin-crypt-file/hooks/after_prepare.js
Using "requireCordovaModule" to load non-cordova module "path" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
CordovaError: Using "requireCordovaModule" to load non-cordova module "path" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.

If using Android studio, I can edit it as the plugin gets downloaded on my local PC, but how do I edit on Volt as the files are not with me.

This is an open issue for this plugin: requireCordovaModule issue with cordova 9 · Issue #78 · tkyaji/cordova-plugin-crypt-file · GitHub.

There are some suggestions in the responses.