I’m seeing the “Cannot find a service for the path” error on Windows when running the electron app
using the Theia extension generator example from https://github.com/theia-ide/generator-theia-extension/tree/master/templates/backend. Other backend services appear to be registering successfully. I’ve reproduced on two different Windows 10 machines. This issue does not happen on Linux, both example backend services work as expected.
Debug console message
root ERROR Cannot find a service for the path: /services/withClient
root ERROR Cannot find a service for the path: /services/helloBackend
I’ve traced the error to https://github.com/eclipse-theia/theia/blob/master/packages/core/src/node/messaging/messaging-contribution.ts#L163, but am new to this world and have not seen anything glaringly obvious when debugging in the developer tools.
Does the electron app need to be run with a special configuration or permission on windows or is there something different that needs to be done with registering services in Windows?
Any guidance would greatly be appreciated.