net::ERR_ABORTED 404 (Not Found). vendor.js

I am following a tutorial on building a web app with ASP.NET Core and Angular 12. After creating the first component I built the app I got the initial chunk files BUT minus the vendor.js. In the tutorial, the vendor.js file is actually among the chunk files and so I manually downloaded and added the vendor.js file. However, when I run the command ‘ng build’, the vendor.js file disappears from solution explorer. When I debug the app I get a blank page and the console message errors as shown in the image.

Later on, I read somewhere that vendor.js is used during production. Could this be the reason it disappears?enter image description here Please let me know if you need more info to solve the problem.

Thanks

Source: Windows Questions

LEAVE A COMMENT