-
Notifications
You must be signed in to change notification settings - Fork 19
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
Publishing is also installing package #6
Comments
neworld
added a commit
to neworld/gradle-jdeploy-plugin
that referenced
this issue
Oct 21, 2018
jdeploy program install package globaly (npm link) before publishing. Issue described is here: shannah/jdeploy#6
Created a fix #7. Would be nice to fix this in one or another way. Until then, I will use hacky workaround: neworld/gradle-jdeploy-plugin@ebed080 |
I merged your pull request. Do you still need to use a "hacky workaround" with that pull request merged, or does that solve it for you? |
I didn't tested, but it should be enough. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to publish package into npm and got error about missing permissions:
This happens, because publish task is also installing packages: https://github.com/shannah/jdeploy/blob/master/src/ca/weblite/jdeploy/JDeploy.java#L1084
sudo
for install is default behavior, atleast for Arch Linux or for security reasons. I am not able install anything globally through npm without it.I am wondering, what is reason to have
npm link
before publishing?Possible workaround is to give some random node prefix like:
The text was updated successfully, but these errors were encountered: