-
-
Notifications
You must be signed in to change notification settings - Fork 90
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 generate secret #552
Comments
I have a fix for the error with "export const ajv = new Ajv", which is to use "export const ajv = new Ajv.default" |
Apologies for the delay here, I'd suggest just generating a secret another way (any secure way of generating a random string) for now, and seeing if things work otherwise. This should be fixed with the next version, but no specific timeline on that right now. |
First and foremost, thank you for taking the time to reply, but could you please reread my message -- I am getting errors on what should be fairly innocuous Typescript code. The comment about the Secret was meant as sarcasm. TY! |
Yes, I could be wrong but I believe this is probably an error due to an incorrect tsconfig when running specifically to generate secrets, I believe it may work if you do a normal build, as the build did run through when the commit was made for the image. If not I'll have to take another look, although like I say this has all changed with the next version so whenever that comes it should fix things. |
Good morning and thank you (again) for writing back, but I am concerned there is a disconnect between our understanding here. In the course of generating a secret to run massive decks, a script is executed with three steps (or I should more correctly say, the script fails on the third step):
I receive four errors on this last step: `src/ts/action/validation.validator.ts:13:24 - error TS2351: This expression is not constructable. 13 export const ajv = new Ajv({ src/ts/action/validation.validator.ts:18:1 - error TS2349: This expression is not callable. 18 addFormats(ajv, { mode: "full" });
|
Describe the bug
Cannot generate secret for new deployment of massivedecks
How to reproduce the bug
I am trying to deploy a new instance of massivedecks to my private server via docker.
I have pulled a complete copy of md from Git Hub. In addition, I have put a copy of compose.yml from massivedecks/deployment
/memory/ into /md.
When I attempt to generate a new secret for config.json5 I get an error from the npm command:
Expected behaviour
I'm pretty sure that I am supposed to get a message to the effect of "Your secret is ..."
The text was updated successfully, but these errors were encountered: