Skip to content

NPM uninstall not working #349

@Revadike

Description

@Revadike

@cnpm help
npm uninstall is not working

const npmInstall = require("npminstall");
const npmUninstall = require("npminstall/lib/uninstall");

(async() => {
    await npmInstall({ "pkgs": [{ "name": "npm-package-example" }], "root": process.cwd(), "storeDir": "c:/somefolder", "targetDir": "c:/somefolder" }); // works fine
    await npmUninstall({ "pkgs": [{ "name": "npm-package-example" }], "storeDir": "c:/somefolder", "targetDir": "c:/somefolder" }); // not working
})();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions