Somehow, I got into a weird state that Pkg complains about not being able to parse the manifest file:
(MyPackage) pkg> st Project MyPackage v0.1.0 ERROR: Could not parse manifest : CompositeException(Any[ParserError(4125, 4125, "expected a key but found an empty string")])
The funny thing is that the error persisted even after I removed the Manifest.toml file… Then, I re-generated the manifest by running
instantiate from the package mode and the error still didn’t go away…
Finally, I narrowed it down to something in the .git directory. If I remove the whole .git directory, then the problem goes away.
So my question is – does Pkg use git in anyway? How do I fix it properly?