"The project.clj file is not sane. n.replace is not a function"
Lately I have been getting this message in code-server "The project.clj file is not sane. n.replace is not a function"
How can I investigate this?
Hi, I'm sorry for the troubles!
”The project.clj file is not sane”? What a funny error message...
I checked the code where we print this and see that we also log to the dev console. I don't think you will find all that much more info there, but anyway, from the VS Code Help menu, you can Toggle Developer Tools, and maybe there is some more clue there.
From the code it looks like a candidate to where this could come from is when we remove any preceding : from a configured alias in the custom connect sequence. So, two questions:
- Are you using a custom connect sequence?
- Do you have
leinAliasconfigured there?