This is a migrated thread and some comments may be shown as answers.
Difference between CDN resources and NPM resources
1 Answer 6 Views
This is a migrated thread and some comments may be shown as answers.
JIG
Top achievements
Rank 1
JIG asked on 21 Apr 2020, 07:24 AM

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 !

1 Answer, 1 is accepted

Sort by
0
Petar
Telerik team
answered on 24 Apr 2020, 07:05 AM

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.
Asked by
JIG
Top achievements
Rank 1
Answers by
Petar
Telerik team
Share this question
or