preconditions don't run
I have a precondition (
src/preconditions/Setup.ts
) being used in a subcommand command (src/commands/setup.ts
) and neither the command nor precondition run. I've added debug console.log
's to both, and neither output whenever I use the command.
I can provide a project .zip
in DMs upon request.19 Replies
No need to provide a .zip
Just send your precondition code
Also make sure your startup file is defined in your package.json under
main
and my startup file is properly defined
Hmmm that should work
But you also mentioned the subcommand doesn't run, so let's see that code too
its a very large command, so I didn't put in the actual code
but one important thing to note is that when I tested it without any preconditions it worked as expected
when I place a debug
console.log
anywhere in the precondition or the command, they just don't output when there is a preconditionHmmm that's weird
@Favna ?
its very weird, if you need a zip for some obscure detail I can provide
No zip needed, I've seen everything that's relevant
alright
Send Package.json pls @jack
@jack.ink
Uhm that looks .. fine.. I would appreciate the zip. That said, I'm at an airport right now so it'll be a bunch of hours before I can check.
I'll get that sent to you, I completely understand the delays
@Favna could any of my tsconfig settings be important?
I suppose yes. You could send that.
Have a safe flight
just checking if you've found anything
Haven't checked yet
alright, no issue
for now I'm just running preconditions as if statements