You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2019/11/29 11:55:00 UTC

[jira] [Closed] (CB-13508) Unable to load PlatformApi from platform

     [ https://issues.apache.org/jira/browse/CB-13508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-13508.
-----------------------------
    Resolution: Cannot Reproduce

Can't reproduce on cordova 9, if you still face the issue report it in https://github.com/apache/cordova-cli/issues providing more information

> Unable to load PlatformApi from platform
> ----------------------------------------
>
>                 Key: CB-13508
>                 URL: https://issues.apache.org/jira/browse/CB-13508
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>    Affects Versions: cordova@7.1.0
>            Reporter: Varacca
>            Priority: Major
>
> Hello,
> I'm running under cordova@7.1.0, cordova-ios@4.5.2.
> Installed platforms: ios 4.5.2.
> I run npm install, bower install then cordova prepare ios and i get the following error: 
> Unable to load PlatformApi from platform. Error: Cannot find module 'unorm'
> Error: Unhandled "error" event. (The platform "ios" does not appear to be a valid cordova platform. It is missing API.js. ios not supported.)
> The solution is to cordova platform rm ios and cordova platform add ios. But i have to do this each time i checkout my project from git ... 
> Do you have any suggestion to solve this issue?
> Best regards !



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org