Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugin remove command fails with ENOENT #1974

Closed
vchimev opened this issue Aug 2, 2016 · 1 comment
Closed

The plugin remove command fails with ENOENT #1974

vchimev opened this issue Aug 2, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@vchimev
Copy link

vchimev commented Aug 2, 2016

The plugin remove comand tns plugin remove fails to uninstall plugin if it is referenced from a local path and not present in <project>/node_modules.

Example:

https://github.com/PeterStaev/NativeScript-Drop-Down/blob/master/sample/package.json#L17

Output:

nsbuilduser$ node_modules/.bin/tns plugin remove nativescript-drop-down --path DropDownSample/
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.
npm ERR! addLocal Could not install /Users/nsbuilduser/workspace/bin/dist
ENOENT: no such file or directory, open '/Users/nsbuilduser/workspace/tns-plugins-build-testapps-DropDown-stable/DropDownSample/node_modules/nativescript-drop-down/package.json'

Steps To Reproduce:

git clone git@github.com:PeterStaev/NativeScript-Drop-Down.git
cd NativeScript-Drop-Down/sample
tns plugin remove nativescript-drop-down

Log Trace:

https://gist.github.com/vchimev/fc513f0a8fa8716cd4ef548020b6f0e6

@enchev enchev added the bug label Aug 9, 2016
@tzraikov tzraikov added this to the 2.4.0 milestone Sep 21, 2016
@tzraikov
Copy link
Contributor

ping @vchimev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants