This is a migrated thread and some comments may be shown as answers.

Visual Studio Code error/warning when using kendo-editor

2 Answers 148 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 23 Jan 2019, 04:30 PM

After manually installing (previous post), I am adding the kendo-editor to my template.  When I add, I am getting an error/warning in Visual Studio Code (red squiggly) over the entire page.  If I remove the kendo-editor tag, the error/warning goes away (red squiggly).  Attached is a screenshot of the code with the VS Code error/warning ("[Angular] Cannot read property 'isSkipSelf' of null").  The editor appears to work properly (still testing features) when I run the project/page, it is just the error in VS Code that is confusing.

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 25 Jan 2019, 06:57 AM
Hi Tim,

I am attaching a sample project featuring the basic Editor usage example from our documentation. The setup workflow was as follows:

1) Create a new Angular project (ng new ...)

2) Install the Editor and all dependencies manually (rxjs version 6.2.2 and rxjs-compat version 6.2.2)

3) Install the Default theme

4) Copy-paste the app.component.ts and app.module.ts files from the online demo, adjust the app component selector

Please compare it to your configuration and apply the necessary adjustments. If the issue persists, please send us a similar isolated runnable project where the issue can be observed, so we can inspect it further, and determine what might be causing it. Thank you in advance.

Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Tim
Top achievements
Rank 1
answered on 25 Jan 2019, 04:04 PM

I ended up deleting my node_modules directory and then doing an 'npm install'.  That seemed to resolve the issue.  

Thanks for your help,

Tim

Tags
Editor
Asked by
Tim
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Tim
Top achievements
Rank 1
Share this question
or