Cordova Unable to load platformapi Cordova Unable to load platformapi node.js node.js

Cordova Unable to load platformapi


Remove the platform which you try to run on it (browser, ios, android, and etc.)

cordova platform rm browser

Add the platform again

cordova platform add browser

You can run

cordova run browser


It looks like the plugin PlatformApi (or what its name is exactly) is not supported by the browser platform.

You can not use the "cordova platform add browser" because the plugin was not written to work with the browser

Maybe it has some specific features that can not be emulated in the browser.


For those who's still experiencing this issue in latest ionic and cordova versions. Run:

  1. ionic cordova platform rm browser/android/ios
  2. ionic cordova run --emulator