Is there a way to eager load an extension for Che theia?

I wrote a custom extension, it throws the following error for the first time
root INFO error: Error: Unknown method $activateByEvent on actor PluginManagerExt at RPCProtocolImpl.doInvokeHandler (/home/theia/node_modules/@theia/plugin-ext/lib/api/rpc-protocol.js:205:19) at RPCProtocolImpl.invokeHandler (/home/theia/node_modules/@theia/plugin-ext/lib/api/rpc-protocol.js:192:41) at RPCProtocolImpl.receiveRequest (/home/theia/node_modules/@theia/plugin-ext/lib/api/rpc-protocol.js:154:45) at RPCProtocolImpl.receiveOneMessage (/home/theia/node_modules/@theia/plugin-ext/lib/api/rpc-protocol.js:123:22) at /home/theia/node_modules/@theia/plugin-ext/lib/api/rpc-protocol.js:55:89 at /home/theia/node_modules/@theia/plugin-ext/lib/api/rpc-protocol.js:233:17 at /home/theia/node_modules/@theia/core/lib/common/event.js:161:33 at CallbackList.invoke (/home/theia/node_modules/@theia/core/lib/common/event.js:176:39) at Emitter.fire (/home/theia/node_modules/@theia/core/lib/common/event.js:264:29) at WebSocketClient.fire (/home/theia/lib/node/plugin-remote-init.js:319:26)

It works after trying out second time and so.
Is there a way to eagerload the extension to handle this error?

[original thread by vinay badhan]

[Anatoliy Bazko]

Have you tried ?
“activationEvents”: [ “*” ]

[vinay badhan]

Thanks @abazko. Will try and let you know.

[vinay badhan]

@abazko In the che-theia package.json (or) in the extension’s package.json?

[Anatoliy Bazko]

in the extension’s package.json

[vinay badhan]

@abazko Didn’t work.