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

Steve Gill resolved CB-13228.
-----------------------------
    Resolution: Fixed

> 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: [email protected]
>            Reporter: Steve Gill
>            Assignee: 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 ([email protected])
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to