Trying to run the VS Code extension in dev mode, but I get a pop-up error message that the extension fails to load: The "code" argument must be of type string. Received null. I see this in the console:
console.ts:137 [Extension Host] SHADOW import error /Users/pez/Projects/portal/.shadow-cljs/builds/vs-code/dev/out/cljs-runtime/portal.runtime.node.server.js (at console.<anonymous> (/Applications/Visual Studio ))
E @ console.ts:137
notificationsAlerts.ts:40 TypeError: The "code" argument must be of type string. Received null
at new NodeError (node:internal/errors:371:5)
at validateString (node:internal/validators:120:11)
at Object.compileFunction (node:vm:309:3)
at wrapSafe (node:internal/modules/cjs/loader:1086:15)
at Module._compile (node:internal/modules/cjs/loader:1121:27)
at Object.portal$runtime$node$server$require_string [as require_string] ()
at
at
at
at
at Object.<anonymous> ()
at Module._compile (node:internal/modules/cjs/loader:1165:14)
at Object..js (node:internal/modules/cjs/loader:1220:10)
at Module.load (node:internal/modules/cjs/loader:1035:32)
at node:internal/modules/cjs/loader:876:12
at Function.<anonymous> (node:electron/js2c/asar_bundle:5:13343)
at Function.<anonymous> ( Studio )
at Function.<anonymous> ( Studio )
at Function._load ( Studio )
at Module.require (node:internal/modules/cjs/loader:1059:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Function.r [as __$__nodeRequire] ( Studio )
at d.pb ( Studio )
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Promise.all (index 0)
c @ notificationsAlerts.ts:40
Is there something I need to do except just bb dev?Hmmm, I edited server.cljs with some debug printing and then the extension loaded...