Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://app.pluralsight.com/course-player?clipId=58755e16-696e-4291-86d8-609e9f0da5af #22

Open
kartiktewari9 opened this issue Apr 14, 2020 · 2 comments

Comments

@kartiktewari9
Copy link

Using donet core 3.1, not able to load local files from node_modules.
"Not allowed to load local resource" error.
Though I have installed nuget package for OdeToCode.UseNodeModules version 3.0.0 and in Startup file I am doing
app.UseNodeModules();

@ghost
Copy link

ghost commented Apr 14, 2020

Same thing here. After installing the Nuget package OdeToCode.UseNodeModules and adding app.UseNodeModules(); to Startup.cs, I get HTTP 404 in the developer tools console for JS and CSS files in node_modules.

@ghost
Copy link

ghost commented Apr 14, 2020

Same thing here. After installing the Nuget package OdeToCode.UseNodeModules and adding app.UseNodeModules(); to Startup.cs, I get HTTP 404 in the developer tools console for JS and CSS files in node_modules.

Well, after a few more tries, this seems to be working. Sadly, I can't really say what changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant