cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Davies (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-13228) cordova-browser@5 doesn't add with cordova<7
Date Fri, 13 Oct 2017 17:27:00 GMT

    [ https://issues.apache.org/jira/browse/CB-13228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203833#comment-16203833
] 

Doug Davies edited comment on CB-13228 at 10/13/17 5:26 PM:
------------------------------------------------------------

I'm seeing this too :(  It also seems to be leaving behind a "prepare" director in the root
when it fails.  I used "phonegap prepare" and specify the platforms in config.xml for installation.


was (Author: csddavies):
I'm seeing this too :(

> cordova-browser@5 doesn't add with cordova<7
> --------------------------------------------
>
>                 Key: CB-13228
>                 URL: https://issues.apache.org/jira/browse/CB-13228
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: Steve Gill
>              Labels: browser-next, easy-fix
>             Fix For: 5.0.1
>
>
> {code}
> cordova platform add browser@latest --nofetch
> Warning: using prerelease version 7.0.2-dev (cordova-lib@7.0.2-dev)
> Adding browser project...
> Unable to load PlatformApi from platform. Error: Cannot find module 'cordova-common'
> Error: Uncaught, unspecified "error" event. (The platform "browser" does not appear to
be a valid cordova platform. It is missing API.js. browser not supported.)
> {code}
> I believe cordova-common wasn't properly bundled into cordova-browser@5. Works fine if
I add it locally. Easy fix



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message