cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Gill (JIRA)" <>
Subject [jira] [Created] (CB-13228) cordova-browser@5 doesn't add with cordova<7
Date Wed, 30 Aug 2017 06:10:00 GMT
Steve Gill created CB-13228:

             Summary: cordova-browser@5 doesn't add with cordova<7
                 Key: CB-13228
             Project: Apache Cordova
          Issue Type: Bug
    Affects Versions: 5.0.0
            Reporter: Steve Gill
             Fix For: 5.0.1

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.)

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

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

View raw message