Hmm, that sounds exactly like my setup. Weird.
I did have the file created, with {} inside (empty Nix expression). If I git add it, it works as well:

And yeah, I understand that it’s supposed to be a stacktrace, but other error messages look similarly horrendous and I can often only try to guess what’s wrong by reading the stacktrace top-to-bottom, so I’ve somewhat gotten used to doing that.
But good to know that these terrible error messages might be a problem with my system. Thanks!



















I don’t think, we are doing different things. I create a new file, put
{}inside, then add it into theimports = [...];. It gives me that error.Then I
git add ., run again and don’t get the error anymore.Is the error you pasted now from some manual assertion you did?