You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
When creating a plugin, I get the following error :
ERROR in xxx\theia\node_modules\htmlparser2\lib\CollectingHandler.d.ts
[tsl] ERROR in xxx\theia\node_modules\htmlparser2\lib\CollectingHandler.d.ts(5,29)
TS1110: Type expected.
It comes from the fact that the htmlparser2 of theia was transpiled using Typescript v3.9.2 and that this yeoman command uses v2.9.2.
The package htmlparser2 one transpiled requires some features that are not supported by Typescript v2.
The easiest solution would be to change the dependencies to Typescript ^3.0.0 in the package.json
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When creating a plugin, I get the following error :
ERROR in xxx\theia\node_modules\htmlparser2\lib\CollectingHandler.d.ts
[tsl] ERROR in xxx\theia\node_modules\htmlparser2\lib\CollectingHandler.d.ts(5,29)
TS1110: Type expected.
It comes from the fact that the htmlparser2 of theia was transpiled using Typescript v3.9.2 and that this yeoman command uses v2.9.2.
The package htmlparser2 one transpiled requires some features that are not supported by Typescript v2.
The easiest solution would be to change the dependencies to Typescript ^3.0.0 in the package.json
The text was updated successfully, but these errors were encountered: