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.
I am getting following errors as i try to run cordova code. check-android-template: check-cordova-version: check-cordova-project: upgrade-to-cordova-project: create-android: update-plugins: cordova plugins cordova -d plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation.git No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation.git" saving Running command: npm install https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation.git --save Command finished with error code 1: npm install,https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation.git,--save Error: Failed to fetch plugin https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation.git 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 plugins.properties 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.