apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 986 forks source link

Unable to load PlatformApi from platform. SyntaxError: Unexpected token #1000

Closed alemdg closed 3 years ago

alemdg commented 3 years ago

Hello, using ionic

ionic cordova platforms add ios@6.1.0 Unable to load PlatformApi from platform. SyntaxError: Unexpected token ... Uncaught, unspecified "error" event. (The platform "ios" does not appear to be a valid cordova platform. It is missing API.js. ios not supported.)

regards.

breautek commented 3 years ago

You're using a dated version of NodeJS.

Recommended version is Node 12, but minimum is 10.

We only support the latest minor/patch releases of a given major. Currently at the time of writing, this means you should have either:

If you need further support, please ask our slack. If you think you've found a bug with Cordova, then please open a new issue with the issue form filled out (rather than deleting it). Thank you.