Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.491 • https://github.com/BetterThanTomorrow/calva/issues/2753
This seems to break connecting to a running REPL: TypeError: n.projectRootPath is not iterable (cannot read property undefined) v2.0.490 works fine but v2.0.491 throws this error on connection for all my projects.
This is from my settings:
"calva.replConnectSequences": [
{
"name": "Loaded deps.edn Jack-In",
"projectType": "deps.edn",
"cljsType": "none",
"autoSelectForJackIn": false,
"projectRootPath": ["."],
"menuSelections": {
"cljAliases": ["1.12", "dev/repl", "portal", "test", "no-main"]
}
},
{
"name": "Assumed deps.edn Connect",
"projectType": "deps.edn",
"autoSelectForConnect": true
}
],Ah, it seems that projectRootPath is required now -- I updated the auto-connect setting to the following and now it works with v2.0.491:
{
"name": "Assumed deps.edn Connect",
"projectType": "deps.edn",
"projectRootPath": ["."], // was not needed in v2.0.490 and earlier
"autoSelectForConnect": true
}Thanks! That’s not intended. I’ll have a look at at least catching that error and give a better error message.
This message was deleted.
deleted and reposted solution in https://clojurians.slack.com/archives/C03RZMDSH/p1742095899673799