Angular-CLI-Based-Template: Published App Can't Reference Bundles #283

Closed
opened 2025-08-09 17:15:42 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @ryanbuening on 12/7/2017

I published a new Angular app using the CLI template via Visual Studio to a sub-directory on my IIS server: domain.com/directory. When I browse out to the published app (at https://domain.com/directory) I get the following errors:

image

The path does not include .com/directory/resource.bundle.js. If I manually take one of resource URLs that couldn't be found and include the directory: .com/directory/main.61d9e41ffdad589ea580.bundle.js, it finds the resource. Do I need to modify something in my project or is this a bug?

*Originally created by @ryanbuening on 12/7/2017* I published a new Angular app using the CLI template via Visual Studio to a sub-directory on my IIS server: `domain.com/directory`. When I browse out to the published app (at `https://domain.com/directory`) I get the following errors: ![image](https://user-images.githubusercontent.com/812974/33725887-85bcf4cc-db41-11e7-9891-fad5169a8b0d.png) The path does not include .com/**directory**/resource.bundle.js. If I manually take one of resource URLs that couldn't be found and include the directory: `.com/directory/main.61d9e41ffdad589ea580.bundle.js`, it finds the resource. Do I need to modify something in my project or is this a bug?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#283
No description provided.