Get Error With KeyboardLayoutProvider not loading on Chrome with Mac

Error: No matching bindings found for serviceIdentifier: Symbol(KeyboardLayoutProvider) can anyone help me out ?

[original thread by Nilesh Agarwal]

[Nilesh Agarwal]

@nilesh-agarwal in your screenshot, are you running the example from sources (ex: the main upstream repo), or have you included custom Theia extensions in your application?

It could also be that there are 2 implementations. Could you run yarn why @theia/core from the package root to check that you have only one version installed.

[Nilesh Agarwal]

I am using the Main repo

[Nilesh Agarwal]

theia master-branch

[Nilesh Agarwal]

Found “@theia/core@1.1.0”
info Has been hoisted to “@theia/core”
info Reasons this module exists

  • “workspace-aggregator-49e811c3-b5bc-4ec9-b398-60ee42c1022d” depends on it

  • Specified in “dependencies”

  • Hoisted from “project#@theia#core”

  • Hoisted from “project#@theia#file-search#@theia#core”

  • Hoisted from “project#@theia#messages#@theia#core”

  • Hoisted from “project#@theia#metrics#@theia#core”

  • Hoisted from “project#@theia#mini-browser#@theia#core”

  • Hoisted from “project#@theia#monaco#@theia#core”

  • Hoisted from “project#@theia#getting-started#@theia#core”

  • Hoisted from “project#@theia#navigator#@theia#core”

  • Hoisted from “project#@theia#outline-view#@theia#core”

  • Hoisted from “project#@theia#output#@theia#core”

  • Hoisted from “project#@theia#keymaps#@theia#core”

  • Hoisted from “project#@theia#example-browser#@theia#core”

  • Hoisted from “project#@theia#languages#@theia#core”

  • Hoisted from “project#@theia#plugin-dev#@theia#core”

  • Hoisted from “project#@theia#api-tests#@theia#core”

  • Hoisted from “project#@theia#plugin-ext-vscode#@theia#core”

  • Hoisted from “project#@theia#plugin-ext#@theia#core”

  • Hoisted from “project#@theia#api-samples#@theia#core”

  • Hoisted from “project#@theia#plugin-metrics#@theia#core”

  • Hoisted from “project#@theia#preferences#@theia#core”

  • Hoisted from “project#@theia#preview#@theia#core”

  • Hoisted from “project#@theia#json#@theia#core”

  • Hoisted from “project#@theia#callhierarchy#@theia#core”

  • Hoisted from “project#@theia#example-electron#@theia#core”

  • Hoisted from “project#@theia#editor#@theia#core”

  • Hoisted from “project#@theia#process#@theia#core”

  • Hoisted from “project#@theia#scm-extra#@theia#core”

  • Hoisted from “project#@theia#console#@theia#core”

  • Hoisted from “project#@theia#git#@theia#core”

  • Hoisted from “project#@theia#editor-preview#@theia#core”

  • Hoisted from “project#@theia#scm#@theia#core”

  • Hoisted from “project#@theia#search-in-workspace#@theia#core”

  • Hoisted from “project#@theia#task#@theia#core”

  • Hoisted from “project#@theia#filesystem#@theia#core”

  • Hoisted from “project#@theia#terminal#@theia#core”

  • Hoisted from “project#@theia#typehierarchy#@theia#core”

  • Hoisted from “project#@theia#userstorage#@theia#core”

  • Hoisted from “project#@theia#variable-resolver#@theia#core”

  • Hoisted from “project#@theia#vsx-registry#@theia#core”

  • Hoisted from “project#@theia#debug#@theia#core”

  • Hoisted from “project#@theia#markers#@theia#core”

  • Hoisted from “project#@theia#workspace#@theia#core”
    info Disk size without dependencies: “10.11MB”
    info Disk size with unique dependencies: “27MB”
    info Disk size with transitive dependencies: “57.87MB”
    info Number of shared dependencies: 148

@nilesh-agarwal I’ve recently tested master on macOS and it works correctly for me, I’m not sure why your application is not starting. Do you happen to have reproduction steps?

[Nilesh Agarwal]

yarn --version
1.17.3
node --version
v11.15.0
mac mojave
10.14.6 (18G3020)

The Command that i am running are :

git clone https://github.com/theia-ide/theia
yarn
yarn theia build
yarn theia start

Please let me know if i am doing something wrong

[Nilesh Agarwal]

@vince-fugnitto ^

@nilesh-agarwal I believe you’re mixing up running the main repo, and the commands for ‘composing an application’. For running Theia from sources the only necessary commands are (from the root of the repo):

$ yarn
$ yarn start:browser
1 Like