2024-06-04 09:56:30 INF ===============================================================================================
2024-06-04 09:56:30 INF loadExtension(cursorless-neovim): start
2024-06-04 09:56:30 INF activate(): Cursorless extension loaded
2024-06-04 09:56:30 INF loadExtension(cursorless-neovim): done
2024-06-04 09:56:31 INF handleNotification:
2024-06-04 09:56:31 INF handleNotification:
2024-06-04 09:56:31 INF runCommand(command-server): start
2024-06-04 09:56:31 ERR Error in plugin for function:CommandServerRunCommand: Tried to access CommandRunner before it was injected (file: C:/cursorless/dist/cursorless.nvim//node/command-server, stack: Error: Tried to access CommandRunner before it was injected
at commandRunner (C:\cursorless\dist\cursorless.nvim\node\command-server\out\index.cjs:248:11)
at runCommand (C:\cursorless\dist\cursorless.nvim\node\command-server\out\index.cjs:300:3)
at plugin.registerFunction.sync [as fn] (C:\cursorless\dist\cursorless.nvim\node\command-server\out\index.cjs:289:11)
at NvimPlugin.<anonymous> (C:\Users\Cedric\AppData\Roaming\npm\node_modules\neovim\lib\host\NvimPlugin.js:155:41)
at Generator.next (<anonymous>)
at C:\Users\Cedric\AppData\Roaming\npm\node_modules\neovim\lib\host\NvimPlugin.js:8:71
at new Promise (<anonymous>)
at __awaiter (C:\Users\Cedric\AppData\Roaming\npm\node_modules\neovim\lib\host\NvimPlugin.js:4:12)
at NvimPlugin.handleRequest (C:\Users\Cedric\AppData\Roaming\npm\node_modules\neovim\lib\host\NvimPlugin.js:133:16)
at Host.<anonymous> (C:\Users\Cedric\AppData\Roaming\npm\node_modules\neovim\lib\host\index.js:94:27))
Rerunning the tests made the problem disappear. If it happens again we'll have to probably wait a bit longer before we start the tests.
This error happened when running the tests locally. This never happened to me before, but it happened after I refactored the code with Pokey changes from https://github.com/cursorless-dev/cursorless/pull/2369
Rerunning the tests made the problem disappear. If it happens again we'll have to probably wait a bit longer before we start the tests.