kelp init fails #2
untcha opened this issue Β· comments
Alexander Untch commented
crhuber commented
it needs to be able to write to ~/.kelp/kelp.json
. so maybe theres an issue writing there
Alexander Untch commented
The path is writable. That seems not to be the problem.
The string kc.Path
is empty and therefor no destination to write to.
Alexander Untch commented
I think the problem is here:
Lines 274 to 282 in e183abc
When there is no config existing, then you create the KelpPackage and append it to the KelpConfig but the KelpConfig does not have the path set.
I solved it by adding:
kc.Path = path
Alexander Untch commented
Fixed with release v.1.12.4