Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Bubdleconfig json - references to files in node_modules #11017


User avatar
0
razkhan78 created

AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core

We have reference to below files in bundleconfig json in the project we downloaded from aspnetzero: wwwroot/lib/json2/lib/JSON2/static/json2.js wwwroot/lib/bootstrap/dist/css/bootstrap.css wwwroot/lib/datatables.net-responsive-bs4/css/responsive.bootstrap4.css wwwroot/lib/push.js/bin/push.js wwwroot/lib/datatables.net-responsive-bs4/js/responsive.bootstrap4.js

but these files does not exist on these paths but available in node_modules and it is causing issue in build pipelines. So can you please let us know how to fix this? Is this bug in existing project or we need to run some commands?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @razkhan78

    We don't have such a problem in the AspNet Zero's source code. As far as I remember, we have removed some or all of those libraries from the MVC app. So, you can remove them from bundles.json file and see if it fixes the problem.