0
When I turn the remote ionic cordova build android --release
he returns me this error:
Using "requireCordovaModule" to load non-cordova module "fs" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
[ERROR] An error occurred while running subprocess cordova.
I have already removed and added the platform,delete the node_modules folder and run this command: npm install @ionic/app-scripts@latest --save-dev
And I’ve tried the ionic repair
.
This seems to be a problem with some plugin you are using. Try running the build command with the parameter
--verbose
to see exactly where this error comes from.– André Ribeiro