Skip to content

Plugin remove fails if plugin version is not available in npm #1541

@dtopuzov

Description

@dtopuzov

package.json:

{
  "nativescript": {
    "id": "com.telerik.plugindemo.barcodescanner",
    "tns-ios": {
      "version": "1.7.0-2016.2.23.1"
    },
    "tns-android": {
      "version": "1.6.2-2016.2.22.2"
    }
  },
  "dependencies": {
    "nativescript-barcodescanner": "1.2.1",
    "tns-core-modules": "file:../tns-core-modules.tgz"
  },
  "devDependencies": {
    "nativescript-dev-typescript": "^0.3.1",
    "typescript": "^1.8.2"
  }
}

tns plugin remove nativescript-barcodescanner
npm WARN package.json @ No description
npm WARN package.json @ No repository field.
npm WARN package.json @ No README data
npm WARN package.json @ No license field.
version not found: nativescript-barcodescanner@1.2.1

=> and pacakge.json is still the same, plugin not removed.

Tested with CLI in master.

This bug makes building sample apps for verified plugins hard.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions