Open kittaakos opened 4 years ago
I can see another error too, maybe they're related:
root ERROR [hosted-plugin: 90904] Promise rejection not handled in one second: TypeError: r.languages.registerSelectionRangeProvider is not a function , reason: TypeError: r.languages.registerSelectionRangeProvider is not a function
root ERROR [hosted-plugin: 90904] With stack trace: TypeError: r.languages.registerSelectionRangeProvider is not a function
at s.VersionDependentRegistration [as _doRegister] (/Users/akos.kitta/Desktop/theia/plugins/vscode-builtin-typescript-language-features/extension/dist/extension.js:1:165510)
at s.update (/Users/akos.kitta/Desktop/theia/plugins/vscode-builtin-typescript-language-features/extension/dist/extension.js:1:12165)
at t.VersionDependentRegistration.update (/Users/akos.kitta/Desktop/theia/plugins/vscode-builtin-typescript-language-features/extension/dist/extension.js:1:12634)
at new t.VersionDependentRegistration (/Users/akos.kitta/Desktop/theia/plugins/vscode-builtin-typescript-language-features/extension/dist/extension.js:1:12433)
at Object.t.register (/Users/akos.kitta/Desktop/theia/plugins/vscode-builtin-typescript-language-features/extension/dist/extension.js:1:165444)
at Promise.all.Promise.resolve.then.then.t (/Users/akos.kitta/Desktop/theia/plugins/vscode-builtin-typescript-language-features/extension/dist/extension.js:1:123023)
at process._tickCallback (internal/process/next_tick.js:68:7)
Promise rejection not handled in one second: TypeError: r.languages.registerSelectionRangeProvider is not a function , reason: TypeError: r.languages.registerSelectionRangeProvider is not a function
root ERROR [hosted-plugin: 90904] With stack trace: TypeError: r.languages.registerSelectionRangeProvider is not a function
at s.VersionDependentRegistration [as _doRegister] (/Users/akos.kitta/Desktop/theia/plugins/vscode-builtin-typescript-language-features/extension/dist/extension.js:1:165510)
at s.update (/Users/akos.kitta/Desktop/theia/plugins/vscode-builtin-typescript-language-features/extension/dist/extension.js:1:12165)
at t.VersionDependentRegistration.update (/Users/akos.kitta/Desktop/theia/plugins/vscode-builtin-typescript-language-features/extension/dist/extension.js:1:12634)
at new t.VersionDependentRegistration (/Users/akos.kitta/Desktop/theia/plugins/vscode-builtin-typescript-language-features/extension/dist/extension.js:1:12433)
at Object.t.register (/Users/akos.kitta/Desktop/theia/plugins/vscode-builtin-typescript-language-features/extension/dist/extension.js:1:165444)
at Promise.all.Promise.resolve.then.then.t (/Users/akos.kitta/Desktop/theia/plugins/vscode-builtin-typescript-language-features/extension/dist/extension.js:1:123023)
at process._tickCallback (internal/process/next_tick.js:68:7)
root INFO [nsfw-watcher: 90899] Started watching: /Users/akos.kitta/Desktop/theia/tsconfig.json
root ERROR [hosted-plugin: 90904] Promise rejection not handled in one second: undefined , reason: undefined
Is it still actual? We upgraded to latest typescript and registerSelectionRangeProvider
api was implemented last month?
I could not reproduce it.
Description
I got this when I used the TS feature inside the electron-example started from the sources. I was editing the `electron-menu-contribution.ts` module: ``` Error:OS and Theia version:
Diagnostics: