Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

fix: unable to load ivy native plugin#1111

Merged
kyliau merged 1 commit intoangular:masterfrom
ivanwonder:unable-load-ivy-native-plugin
Feb 16, 2021
Merged

fix: unable to load ivy native plugin#1111
kyliau merged 1 commit intoangular:masterfrom
ivanwonder:unable-load-ivy-native-plugin

Conversation

@ivanwonder
Copy link
Contributor

In typescript 4.1.4, ts allows only package names as plugin names,
so @angular/language-service/bundles/ivy is disabled by ts. This
PR will resolve @angular/language-service to path ./bundles/ivy.js
when the user enables the Ivy-native language service.

fixed #1109

@kyliau
Copy link
Contributor

kyliau commented Feb 16, 2021

@ivanwonder thank you very much for identifying the bug and fixing it. If you don't mind, I'll do a small clean up and merge this so that we could get it released asap.

@atscott atscott linked an issue Feb 16, 2021 that may be closed by this pull request
In typescript 4.1.4, ts allows only package names as plugin names,
so `@angular/language-service/bundles/ivy` is disabled by ts. This
PR will resolve `@angular/language-service` to path `./bundles/ivy.js`
when the user enables the Ivy-native language service.

fixed angular#1109
@kyliau kyliau force-pushed the unable-load-ivy-native-plugin branch from 1eeb8be to b75a71a Compare February 16, 2021 20:52
@kyliau kyliau merged commit b08b295 into angular:master Feb 16, 2021
@kyliau kyliau mentioned this pull request Feb 16, 2021
@ivanwonder ivanwonder deleted the unable-load-ivy-native-plugin branch February 21, 2021 13:30
kyliau added a commit to kyliau/vscode-ng-language-service that referenced this pull request Feb 26, 2021
Starting from `@angular/language-service` v12.0.0-next.3, the package
will dynamically load View Engine or Ivy LS based on the config passed
to the plugin.

This reverts angular#1111
kyliau added a commit to kyliau/vscode-ng-language-service that referenced this pull request Mar 4, 2021
Starting from `@angular/language-service` v12.0.0-next.3, the package
will dynamically load View Engine or Ivy LS based on the config passed
to the plugin.

This reverts angular#1111
kyliau added a commit to kyliau/vscode-ng-language-service that referenced this pull request Mar 4, 2021
Starting from `@angular/language-service` v12.0.0-next.3, the package
will dynamically load View Engine or Ivy LS based on the config passed
to the plugin.

This reverts angular#1111
kyliau added a commit that referenced this pull request Mar 4, 2021
Starting from `@angular/language-service` v12.0.0-next.3, the package
will dynamically load View Engine or Ivy LS based on the config passed
to the plugin.

This reverts #1111
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Angular Language Service Crashed ivy-native issue with the component variables in the templates

2 participants