calva icon indicating copy to clipboard operation
calva copied to clipboard

"The project.clj file is not sane. n.replace is not a function"

Open sindhubb opened this issue 2 years ago • 1 comments

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?

sindhubb avatar May 22 '23 11:05 sindhubb

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:

  1. Are you using a custom connect sequence?
  2. Do you have leinAlias configured there?

PEZ avatar May 23 '23 18:05 PEZ