Difference between CDN resources and NPM resources

2 posts, 0 answers
  1. JIG
    JIG avatar
    79 posts
    Member since:
    Sep 2009

    Posted 21 Apr 2020 Link to this post

    I'm trying to add the Kendo UI (v2020.1.406) to my ASP.net Core project through NPM and copy it with Webpack to the lib folder.

    Now the problem I'm hitting is the following, If I add the CDN resources to my project, everything works like a charm,... but when I'm adding the same resources with the same version that I installed via NPM to the project, I'm confronted with a wall of error's in the console of my browser. Now I'm not completely sure what is happening, but you can see what happens in the project below

    Github Repo KendoNPMResources.

    A nudge in the right direction would be awesome !

  2. Petar
    Admin
    Petar avatar
    436 posts

    Posted 24 Apr 2020 Link to this post

    Hi JIG,

    Thank you for the provided project. Based on what I can see in the repository, the configuration of the Webpack is different from the one we recommend in this Installing with NPM article. Also, there are some missing packages in the package.json if I compare the definition form the repository with the packages listed in the provided link. 

    Please follow the instructions from the above link and let me know if the issue with the NPM usage continues to exist. 

    Regards,
    Petar
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top