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

npm prune removes copy-to-clipboard dependency #54

Closed
sokki opened this issue Apr 3, 2017 · 1 comment
Closed

npm prune removes copy-to-clipboard dependency #54

sokki opened this issue Apr 3, 2017 · 1 comment
Assignees

Comments

@sokki
Copy link

sokki commented Apr 3, 2017

Since 4.2.3, copy-to-clipboard is in both dependencies and devDependencies.

When I run npm prune --production, copy-to-clipboard gets removed. So now, I need to explicit add it to my projects dependencies ...

node@6.8.0
npm@4.4.4
@nkbt
Copy link
Owner

nkbt commented Apr 3, 2017

Yep, npm prune is totally broken now after complete rewrite npm/npm#15669

Our best solution so far is:

docker run -v $(pwd):/app -w /app -it mhart/alpine-node:7.4.0 npm prune --production

PS: tho removing copy-to-clipboard from dev deps would be a good idea anyway.

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

No branches or pull requests

2 participants