This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270993 - Update Cordova support to latest version
Summary: Update Cordova support to latest version
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2017-06-28 21:49 UTC by navdeepsingh.sidhu95
Modified: 2017-06-28 21:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description navdeepsingh.sidhu95 2017-06-28 21:49:43 UTC
I am getting following errors as i try to run cordova code.

cordova plugins 
cordova -d plugin add
No scripts found for hook "before_plugin_add".
Calling plugman.fetch on plugin ""
Running command: npm install --save
Command finished with error code 1: npm install,,--save
Error: Failed to fetch plugin via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?

As i dug deep into the issue, i can see contains old url format from release 3.0. And cordova released 7.0 in May,2017. Netbeans needs to be updated to support latest version and latest format of commands to manage plugins.