The best approach may be to wrap console.log in your app and only display “logs” if environment is “development”.
Another way, if you are in a hurry is to add this to the top of your server.js or similar (after the require statements):
console.log = function(){};




![Cannot read property ‘toLowerCase’ of undefined [ERROR] An error occurred while running subprocess cordova.](https://blog.rahulbhutani.com/wp-content/uploads/2020/12/ionic-enable-xcode-permissions-banner-100x70.png)












