ERROR: Language client is not ready yet

A previous working setup with the IDE 2.2.1 now suddenly refuses to compile anything, not even the simplest "Blink"-example.

Error message in the IDE is "Compilation error: exit status 1".

Looking in the terminal window where I launched the IDE (with sudo) I see the following:

root ERROR Unexpected error when firing event on build did complete. "file:///private/tmp/arduino/sketches/7D5EF730081766D5D5CB148A0BD1036F" Error: Language client is not ready yet
    at LanguageClient.sendNotification (/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-arduino-tools/extension/dist/bundle.js:8932:19)
    at /Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-arduino-tools/extension/dist/bundle.js:179:28
    at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/plugin-host.js:2:556773
    at t.CommandRegistryImpl.executeLocalCommand (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/plugin-host.js:2:557417)
    at t.CommandRegistryImpl.$executeCommand (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/plugin-host.js:2:556929)
    at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/plugin-host.js:2:537919
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async c.handleRequest (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/plugin-host.js:2:114225)

Running the IDE on Mac (M1) with MacOS 14.1.2

I've restarted and also reinstalled the IDE but problem remains.

Thanks in advance!

/S.

UPDATE: Went back to IDE 1.8.19 with the exact same wiring and sketch and then everything worked flawlessly. Will probably stick with 1.x.x until 2.x.x works better.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.