I have similar problem, can you help me?
Here's my error code:
2023-01-27T11:20:16.679Z root ERROR Uncaught Exception:
2023-01-27T11:20:16.679Z root ERROR Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
at isIndexUpdateRequiredBeforeInit (C:\Users\Gost\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:378:11)
at CoreClientProvider.evaluateErrorStatus (C:\Users\Gost\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:190:16)
at ClientReadableStreamImpl.<anonymous> (C:\Users\Gost\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:175:36)
at ClientReadableStreamImpl.emit (node:events:394:28)
at endReadableNT (node:internal/streams/readable:1331:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)