Visual Studio Code error/warning when using kendo-editor

3 posts, 1 answers
  1. Tim
    Tim avatar
    16 posts
    Member since:
    Mar 2012

    Posted 23 Jan 2019 Link to this post

    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. Answer
    Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    1285 posts

    Posted 25 Jan 2019 Link to this post

    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.
  3. Tim
    Tim avatar
    16 posts
    Member since:
    Mar 2012

    Posted 25 Jan 2019 in reply to Dimiter Topalov Link to this post

    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

Back to Top