ExpressJS vs MeteorJS

Express = MVC Framework built in Javascript and is powered by Node. Meteor = Full Stack that has the front-end and back-end components to build a real-time application. To create the same implementation of Meteor using Express, you need to look at the MEAN stack, which includes MongoDB, Express, AngularJS, and Node. You can create … Read more

$apply already in progress error

You are getting this error because you are calling $apply inside an existing digestion cycle. The big question is: why are you calling $apply? You shouldn’t ever need to call $apply unless you are interfacing from a non-Angular event. The existence of $apply usually means I am doing something wrong (unless, again, the $apply happens from a non-Angular event). If $apply really is appropriate … Read more

Why am I seeing net::ERR_CLEARTEXT_NOT_PERMITTED errors after upgrading to Cordova Android 8?

The default API level in the Cordova Android platform has been upgraded. On an Android 9 device, clear text communication is now disabled by default. To allow clear text communication again, set the android:usesCleartextTraffic on your application tag to true: As noted in the comments, if you have not defined the android XML namespace previously, you will receive an error: unbound prefix during build. This … Read more

‘node’ is not recognized as an internal or an external command, operable program or batch file while using phonegap/cordova

In Windows, you need to set node.js folder path into system variables or user variables. 1) open Control Panel -> System and Security -> System -> Advanced System Settings -> Environment Variables 2) in “User variables” or “System variables” find variable PATH and add node.js folder path as value. Usually it is C:\Program Files\nodejs;. If variable doesn’t exists, … Read more