Problems with new configDir implementation (can't create instance) #27
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Something's not right with the new
configDir
changes.I never used a config file before, but when I don't give a
configDir
I get this error:But the implementation is a bit confusing. The confusion begins around https://git.rootprojects.org/root/greenlock.js/src/branch/master/lib/init.js#L121
So the error kind of implies all your problems would go away if you just supply a
manager
. But when I do that, this line will throw an error (because it's still trying to use the non-existantconfigDir
option to create a path)https://git.rootprojects.org/root/greenlock.js/src/branch/master/lib/init.js#L128
When I then also give it a
configDir
, it still fails at this line:https://git.rootprojects.org/root/greenlock.js/src/branch/master/lib/init.js#L143
Because even though
packageRoot
is optional, it tries to get themanager
property out of it.It's all a bit confusing, because a few lines down it would default the manager to
@greenlock/manager
anyway :)https://git.rootprojects.org/root/greenlock.js/src/branch/master/lib/init.js#L147
Thanks for digging into that. I don't know what your config is, so I don't know exactly what's going on.
However, I'd say:
I didn't get any feedback from you, so I'm assuming that the Quick Start solved your issue.
If you still need help, let me know.
Oh sorry, forgot all about it.
I managed to work around the issue by providing these options: