cordova-paramedic icon indicating copy to clipboard operation
cordova-paramedic copied to clipboard

Adding cordova-plugin-test-framework takes a long time

Open hudson-pierce opened this issue 3 years ago • 1 comments

It takes approximately 10 minutes for the cordova plugin add github:apache/cordova-plugin-test-framework --no-telemetry --no-update-notifier step to finish...

On my local machine I pulled down the cordova-paramedic project and in lib/ParamedicApp.js at line 73 I replaced:

const additionalPlugins = ['github:apache/cordova-plugin-test-framework', path.join(__dirname, '..', 'paramedic-plugin')];

with:

const additionalPlugins = ['git+https://github.com/apache/cordova-plugin-test-framework.git', path.join(__dirname, '..', 'paramedic-plugin')];

Now the plugin is added very quickly. Could we please make this change?

hudson-pierce avatar Jul 26 '22 11:07 hudson-pierce

github:apache/cordova-plugin-test-framework should just translate to git+https://github.com/apache/cordova-plugin-test-framework.git (by npm)

Is this reproducible? Are you sure this isn't a one off network issue? For the record, cordova plugin add github:apache/cordova-plugin-test-framework --no-telemetry --no-update-notifier took less than second to resolve for me.

breautek avatar Oct 01 '22 01:10 breautek