question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on installing/activating VSCode extension in GITPOD

See original GitHub issue

please complete the following information:

  • OS version: GITPOD’s Ubuntu 20.04.1 LTS (Focal Fossa)
  • Editor version: built-in Eclipse Theia / VSCode based editor (couldn’t find a version number)
  • TabNine extension version: 3.2.7, 3.2.5, 3.2.4, 3.2.3, 3.2.2 (all VSX versions)

Editor console logs:

Chrome’s Developer Tools If helps, here’s all [3] logs filtered by “tabnine”:

  • root WARN A contributed preference schema has validation issues : data.properties['tabnine.experimentalAutoImports'].type should be equal to one of the allowed values, data.properties['tabnine.experimentalAutoImports'].type[1] should be equal to one of the allowed values, data.properties['tabnine.experimentalAutoImports'].type should match some schema in anyOf

      (anonymous) ... @ logger.ts:312
      (anonymous) ... @ logger.ts:304
      Promise.then (async)
      e.log ... @ logger.ts:299
      n ... @ logger.ts:45
      n.doSetSchema ... @ preference-contribution.ts:172
      n.setSchema ... @ preference-contribution.ts:253
      (anonymous) ... @ plugin-contribution-handler.ts:134
      R ... @ plugin-contribution-handler.ts:125
      N ... @ plugin-contribution-handler.ts:134
      e.handleContributions ... @ plugin-contribution-handler.ts:133
      s ... @ hosted-plugin.ts:349
      e.loadContributions ... @ hosted-plugin.ts:342
      (anonymous) ... @ hosted-plugin.ts:271
      (anonymous) ... @ index.ts:19
      (anonymous) ... @ index.ts:19
      a ... @ index.ts:19
      Promise.then (async) 
      c ... @ index.ts:19
      a ... @ index.ts:19
      Promise.then (async) 
      c ... @ index.ts:19
      (anonymous) ... @ index.ts:19
      a ... @ index.ts:19
      e.doLoad ... @ hosted-plugin.ts:250
      (anonymous) ... @ hosted-plugin.ts:244
      (anonymous) ... @ progress-service.ts:77
      (anonymous) ... @ layout.js:777
      (anonymous) ... @ layout.js:777
      a ... @ layout.js:777
      Promise.then (async) 
      c ... @ layout.js:777
      (anonymous) ... @ layout.js:777
      a ... @ layout.js:777
      e.withProgress ... @ progress-service.ts:74
      (anonymous) ... @ hosted-plugin.ts:244
      (anonymous) ... @ index.ts:19
      (anonymous) ... @ index.ts:19
      (anonymous) ... @ index.ts:19
      a ... @ index.ts:19
      (anonymous) ... @ hosted-plugin.ts:242
      Promise.then (async) 
      load.d.leading ... @ hosted-plugin.ts:242
      _ ... @ index.js:160
      (anonymous) ... @ index.js:170
      E ... @ index.js:235
      (anonymous) ... @ hosted-plugin.ts:237
      (anonymous) ... @ event.ts:117
      e.invoke ... @ event.ts:125
      e.fire ... @ event.ts:267
      onDidDeploy ... @ hosted-plugin-watcher.ts:42
      e.onNotification ... @ proxy-factory.ts:182
      (anonymous) ... @ proxy-factory.ts:139
      (anonymous) ... @ main.js:502
      (anonymous) ... @ main.js:273
      (anonymous) ... @ main.js:260
      (anonymous) ... @ setImmediate.js:40
      d ... @ setImmediate.js:69
      a ... @ setImmediate.js:109
      postMessage (async) 
      r ... @ setImmediate.js:120
      h.setImmediate ... @ setImmediate.js:27
      $ ... @ main.js:258
      Q ... @ main.js:307
      value ... @ reader.ts:57
      (anonymous) ... @ reader.ts:18
      e.handleMessage ... @ web-socket-channel.ts:49
      e.handleIncomingRawMessage ... @ abstract-connection-provider.ts:111
      r.onmessage ... @ ws-connection-provider.ts:54
      _handleMessage ... @ reconnecting-websocket-mjs.js:156
      e._callEventListener ... @ reconnecting-websocket-mjs.js:521
      (anonymous) ... @ reconnecting-websocket-mjs.js:158
      _handleMessage ... @ reconnecting-websocket-mjs.js:158
    
  • root INFO [85eab854-ce4f-4fba-90b1-862c39e0b65c][tabnine.tabnine-vscode]: Loaded contributions.

  • root INFO [85eab854-ce4f-4fba-90b1-862c39e0b65c][tabnine.tabnine-vscode]: Started plugin.

Issue Details:

When GITPOD tries to activate the extension, it pops an error: Activating extension 'Tabnine Autocomplete AI: JavaScript, Python, TypeScript, PHP, Go, Java, Ruby, C/C++, HTML/CSS, C#, Rust, SQL, Bash, Kotlin, React' failed: Cannot read property 'Light' of undefined

Screenshot (36)

Them, the extension does nothing.

The latest 3.2.7 version of the extension does work on local machine (on VSCodium, telemetry free VSCode compile) All other extensions used locally until today, also has worked on GITPOD.

It looks related to React: https://github.com/react-navigation/react-navigation/issues/7320 https://github.com/react-navigation/react-navigation/issues/7065 https://github.com/react-navigation/react-navigation/issues/7541 https://github.com/pluralsight/design-system/issues/729

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JonatasAmaralcommented, Feb 21, 2021

Just did it over there

1reaction
bilucodotacommented, Feb 21, 2021

Hi @JonatasAmaral, It seems like gitpod are using an outdated version of theia. This version misses a property which Tabnine is looking for. I’ve opened a request (give it a thumbs up!) at gitpod’s to update theia to the latest version. Hope they will soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VS Code extensions - Gitpod
Install VS Code extensions from a VSIX file​​ While developing the extension, you can test it by uploading the . vsix file to...
Read more >
VS Code Desktop - Gitpod
Managing VS Code extensions. VS Code runs extensions in one of two places: locally on the UI / client side, or remotely on...
Read more >
Troubleshooting - Gitpod
Gitpod logs in VS Code Browser and Desktop. These logs contain information about the workspace, the session, and the Visual Studio Code environment....
Read more >
Search & Install Extensions in Your Gitpod Workspace
Until now, you installed VS Code extensions in Gitpod by drag-and-dropping `.vsix` files into your workspace.
Read more >
Browser Extension - Gitpod
Creating a workspace is as easy as prefixing any GitHub URL with gitpod.io/# . For convenience, we developed a Gitpod browser extension. It...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found