-
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
Cannot deploy as One Time Password is not provided. #74
Comments
It does try to deal with the one-time password but it is flakey. It has been reported that updating NodeJS to the latest fixes this issue. An alternative workaround for now, is to first login using the CLI. (i.e. npm login), then do your publish. |
I had installed the LTS version of node.js, which had 8.11 of npm. Upgrading manually to 8.13.2 with packages, (which in the process upgraded jdeploy to 3.2.0) and logging in again did not change the error message. This is under MacOS 12.4 x64. Suggestions? |
So you're logged in in the CLI with npm and it still doesn't work? See #33 |
Yes. I have enabled 2FA for NPM with a suitable authenticator, which might be a mistake given this. What is the correct place to add the |
The jDeploy GUI will try to identify when the CLI prompts for it, and it will give you a dialog box to enter the OTP. But this is currently version-dependent as it uses heuristics to identify this. If this isn't working, then you should
|
Had the same problem, fixed using by doing:
|
I am new to jdeploy (my idea is to make Apache Maven more accessible by providing a jdeploy installer) and ran into this showstopper when trying to deploy my tiny proof-of-concept app.
Being new to this I do not know when OTP were introduced but it is clearly after the jdeploy documentation was written.
Would the simplest fix be to add a textbox to provide the OTP in and then pass it down using the
--otp=...
flag if provided?The text was updated successfully, but these errors were encountered: