- This topic has 5 replies, 3 voices, and was last updated 7 years, 6 months ago by
support-swapna.
-
AuthorPosts
-
JohnParticipantIssue
Eclipse throw an error when CTRL is pressed on an open HTML fileSystem
- Windows 7
- CI9
Package
- “@angular/cli”: “^1.5.4”
- @angular/compiler-cli”: “5.0.3
- “typescript”: “2.4.2”
- “angular-ide”: “^0.9.38”
Repro Steps
Press CTRL in HTML viewNOTES
CTRL click on variables/components does not work
Logs attached (error text & webclipse log)Attachments:
You must be logged in to view attached files.November 29, 2017 at 10:06 am #544102
support-swapnaModeratorJohn,
Sorry that you are seeing this issue. Thank you for the details and the log file.
Can you please clarify if you are importing and registering a locale in your app.module.ts ?
I tried to replicate the problem at my end and see the below error logged only when I add locale specific code to the app.module.ts file but the Ctrl click in the HTML file works fine.
com.genuitec.eclipse.typescript.services.internal.Bridge$BridgeException: TypeError: Cannot read property 'version' of null
It would help if you can share your project to help us replicate the problem at our end. If possible, please send us the zipped project excluding the node_modules folder. Also the log you shared is a continuation and not the complete log. Please send us the complete log by clicking on ‘Export Log’ in the Error Log view.
Apologies for inconvenience caused.
–Swapna
MyEclipse SupportNovember 29, 2017 at 10:09 am #544103
timwebbKeymasterFor context, you can see more about the specific error you hit tracked here:
https://github.com/angular/angular/issues/20260The actual problem regarding
cannot read property
is related to the Angular 5 compiler. That said, please do provide the details Swapna requested as it will give us more information to go on to make sure the CTRL navigation is as reliable as possible!Cheers.
November 29, 2017 at 11:30 am #544110
JohnParticipantThanks for pointing me to the language service. However, I am not importing the language service (I will look in this direction though).
Also, I do not have the option to export. The error is being shown in a popup (see attach screenshot).
Attachments:
You must be logged in to view attached files.November 29, 2017 at 11:37 am #544112
JohnParticipantNOTE:
I also verified no module is using the language service.Also, I will look into creating a project to duplicate. Not sure when I can put this together.
Thanks!
December 22, 2017 at 10:39 am #545698
support-swapnaModeratorJohn,
The fix for the problem with Ctrl+Click navigation is out with our latest release, 2017 CI 10. Please update to CI 10 from Help > Check for Updates and let us know how it works for you.
Thank you for your patience.
–Swapna
MyEclipse Support -
AuthorPosts