cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varacca (JIRA)" <>
Subject [jira] [Created] (CB-13508) Unable to load PlatformApi from platform
Date Mon, 30 Oct 2017 09:54:01 GMT
Varacca created CB-13508:

             Summary: Unable to load PlatformApi from platform
                 Key: CB-13508
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-ios
    Affects Versions: cordova@7.1.0
            Reporter: Varacca
            Assignee: Suraj Pindoria

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message