Closed mredig closed 2 months ago
Interesting - it appears if I run via cli, it works...
This has nothing to do with mustache. It is related to bundling assets with modules. I assumed they worked in Xcode as they work from the CLI, which is used by VSCode. I'll investigate. The error message at least is misleading as the working directory won't affect it.
It it affects your priorities at all, think of it simply as a bug report "just so you know". It's not affecting my ability to get my work done, so no pressure from me to fix it! (Unless you want moral support, then by all means GET ON IT!) :)
It's related to how SwiftPM and Xcode bundle assets. SwiftPM places them all in the root folder of the bundle and Xcode places them in a Contents/Assets
folder.
I should be using resoucesPath instead of bundlePath I'll fix it
It crashes on this line:
So, I set my working directory to
/path/to/hummingbird-examples/todos-auth-fluent
and proceeded to get the same crash.I'm not familiar with how Mustache works, but I assume there's supposed to be a file or folder matching the expectation?
Here's the directory contents from a fresh checkout: