Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package @theia/plugin : Cannot find name 'Thenable'. #8119

Closed
mikael-desharnais opened this issue Jun 30, 2020 · 1 comment
Closed

package @theia/plugin : Cannot find name 'Thenable'. #8119

mikael-desharnais opened this issue Jun 30, 2020 · 1 comment
Labels
bug bugs found in the application help wanted issues meant to be picked up, require help plug-in system issues related to the plug-in system

Comments

@mikael-desharnais
Copy link
Contributor

Bug Description:

node_modules/@theia/plugin/src/theia.d.ts:4797:29 - error TS2304: Cannot find name 'Thenable'.

Steps to Reproduce:

1.Pull the Theia repo
2.follow : https://theia-ide.org/docs/authoring_plugins to create a backend plugin
3.execute yarn in your plugin's folder

Additional Information

  • Operating System: Windows 10
  • Theia Version: latest
@akosyakov akosyakov added bug bugs found in the application help wanted issues meant to be picked up, require help plug-in system issues related to the plug-in system labels Jun 30, 2020
@kittaakos
Copy link
Contributor

You have to add "skipLibCheck": true to your tsconfig.json. I had the exact same problem an hour ago, so I am going to close it. Feel free to reopen if the suggested solution does not work. Also, make sure you compile against ES5: "target": "es5",.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application help wanted issues meant to be picked up, require help plug-in system issues related to the plug-in system
Projects
None yet
Development

No branches or pull requests

3 participants