- This topic has 3 replies, 2 voices, and was last updated 6 years, 7 months ago by support-swapna.
-
AuthorPosts
-
MarcParticipantThough my angular app compiles and runs, Weblcipse hilights an error for any imported @angular/… in any source file which imports them.(See screenshot ‘Editor Window’)
However, these modules certainly exist in my modules/folder (see screenshot ‘Modules Dir’).
They are also defined in my packages.json (See screenshot ‘Snippet Packages.json’).
I have also attached the contents of my tsconfig.json in case it matters (See screenshot ‘Contents tsconfig.json’).
(I still do not understand what is doing this validation – webclipse? eclipse? tslint? other?)
As I say, my project builds and runs without issue. How do I debug/fix this issue?
Thanks!
Steve B)Attachments:
You must be logged in to view attached files.
support-swapnaModeratorMarc,
Sorry that you are seeing this issue. Thank you for the details and the screenshots.
1. Can you please clarify if the validation problem is specific to only one project or with all the angular projects in that workspace?
2. Can you please check if a clean build of the project fixes the problem? If it doesn’t help then please switch to a new workspace, import the project as an Angular project and check if the issue persists.
If none of the above suggestions work, then please share with us a screenshot of the Problems view to help us investigate further.
Apologies for inconvenience caused.
–Swapna
Genuitec Support
MarcParticipant1. Hmmm, I did not notice until you asked, but it is only one project in the workspace.
2. I am sorry to ask, but what does “a clean build” mean?
Thanks!
PS – since I am replying anyway, here is a snapshot of the Problems: Every file is listed for its @angular imports.Attachments:
You must be logged in to view attached files.
support-swapnaModeratorMarc,
Thank you for the screenshot.
For clean build, go to menu Project > Clean and select the project to build from scratch.
If the clean build does not fix the problem, then please switch to a new workspace, import the project as angular project and check if the issue persists.Please let us know how it works for you.
–Swapna
Genuitec Support -
AuthorPosts