[
https://issues.apache.org/jira/browse/CB-14207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16697908#comment-16697908
]
Jan Piotrowski (Sujan) commented on CB-14207:
---------------------------------------------
Thanks for the feedback Darrel.
I am currently fighting my way through understanding how paramedic works
exactly and fixing it up a bit. I tested your command and had success:
{code:java}
λ node main.js --cleanUpAfterRun --verbose --platform [email protected] --plugin
cordova-plugin-inappbrowser
cordova-paramedic: Will use the following cli: cordova
(node:73172) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use
os.tmpdir() instead.
cordova-paramedic: creating temp project at
C:\Users\Jan\AppData\Local\Temp\tmp-731724FjJQZUOJ64j
$ cordova create C:\Users\Jan\AppData\Local\Temp\tmp-731724FjJQZUOJ64j
--no-telemetry --no-update-notifier
Creating a new cordova project.
C:\Users\Jan\AppData\Local\Temp\tmp-731724FjJQZUOJ64j
C:\Projects\Cordova\cordova-paramedic
cordova-paramedic: installing plugins
cordova-paramedic: installing cordova-plugin-inappbrowser --no-telemetry
--no-update-notifier
$ cordova plugin add cordova-plugin-inappbrowser --no-telemetry
--no-update-notifier
Adding cordova-plugin-inappbrowser to package.json
Saved plugin info for "cordova-plugin-inappbrowser" to config.xml
cordova-paramedic: installing
C:\Users\Jan\AppData\Local\Temp\tmp-731724FjJQZUOJ64j\plugins\cordova-plugin-inappbrowser\tests
--no-telemetry --no-update-notifier
$ cordova plugin add
C:\Users\Jan\AppData\Local\Temp\tmp-731724FjJQZUOJ64j\plugins\cordova-plugin-inappbrowser\tests
--no-telemetry --no-update-notifier
Adding cordova-plugin-inappbrowser-tests to package.json
Saved plugin info for "cordova-plugin-inappbrowser-tests" to config.xml
$ cordova plugins --no-telemetry --no-update-notifier
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-inappbrowser-tests 3.0.0 "Cordova InAppBrowser Plugin Tests"
cordova-paramedic: installing cordova-plugin-test-framework --no-telemetry
--no-update-notifier
$ cordova plugin add cordova-plugin-test-framework --no-telemetry
--no-update-notifier
Adding cordova-plugin-test-framework to package.json
Saved plugin info for "cordova-plugin-test-framework" to config.xml
cordova-paramedic: installing
C:\Projects\Cordova\cordova-paramedic\paramedic-plugin --no-telemetry
--no-update-notifier
$ cordova plugin add C:\Projects\Cordova\cordova-paramedic\paramedic-plugin
--no-telemetry --no-update-notifier
Adding cordova-plugin-paramedic to package.json
Saved plugin info for "cordova-plugin-paramedic" to config.xml
cordova-paramedic: setting app start page to test page
cordova-paramedic: adding platform [email protected] (with: --no-telemetry
--no-update-notifier)
$ cordova platform add [email protected] --no-telemetry --no-update-notifier
Using cordova-fetch for [email protected]
Adding android project...
Creating Cordova project for the Android platform:
Path: platforms\android
Package: io.cordova.hellocordova
Name: HelloCordova
Activity: MainActivity
Android target: android-26
Subproject Path: CordovaLib
Android project created with [email protected]{code}
Important: I did not use the version available on npm, but the current `master`
of [https://github.com/apache/cordova-paramedic.] There hasn't been a release
for a long time, so I guess you better use the code from the repository
directly.
Let me know if this works for you!
> Cannot Specify Platform Version
> -------------------------------
>
> Key: CB-14207
> URL: https://issues.apache.org/jira/browse/CB-14207
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-paramedic
> Reporter: Darrel O'Pry
> Assignee: Jan Piotrowski (Sujan)
> Priority: Major
>
> When I run
> ./node_modules/.bin/cordova-paramedic --cleanUpAfterRun --verbose
> --platform [email protected] --plugin .
> I get the error
> platform is not supported :: [email protected]
> I expect to install cordova-android version 6.3.0 instead
> I'm using Windows 10, node v10.0.0, cordova-paramedic 0.5.0
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]