meshcloud/collie-cli

Exception writing collie config file

Closed this issue · 2 comments

Running in a repo that was not initialized with collie init

collie will generate the following platform configurations under ./foundations/f/platforms/

        - az

 ? Select an action to continue › ✔ save & exit
generated new foundation at foundations/f
error: Uncaught NotFound: No such file or directory (os error 2): writefile '/Users/jrudolph/dev/mc/collie-hub/.collie/config.json'
    await Deno.writeTextFile(
    ^
    at async writeFile (ext:deno_fs/30_fs.js:806:7)
    at async CollieConfig.saveToDisk (file:///Users/jrudolph/dev/mc/collie-cli/src/model/CollieConfig.ts:61:5)
    at async CollieConfig.setProperty (file:///Users/jrudolph/dev/mc/collie-cli/src/model/CollieConfig.ts:35:5)

Should be fixed by #232

Yes, closed by #232