Angular template with Visual Studio Code issue #480

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

Originally created by @NeilIrvingMacc on 8/22/2017

I am getting the following error when debugging a project in VS Code 1.15.1:

Got the template using this:

npm install -g yo generator-aspnetcore-spa
yo aspnetcore-spa

Made sure I had the correct webpack:

npm install webpack@2.5.1

Webpacked the files:

webpack --config webpack.config.vendor.js
webpack --config webpack.config.js

changed TemplateURL: to template: and Styleurls: to styles: see this article:

https://stackoverflow.com/questions/41797199/angular2-asp-net-no-resourceloader-implementation-has-been-provided-cant-re

Pressed F5 / debug in VS Code and got this:

Call to Node module failed with error: Error: Uncaught (in promise): Error: Cannot find primary outlet to load 'HomeComponent'

Is it that the typescript needs to be compiled again?

Using VSCode as I am doing a personal project

Thanks

Neil

*Originally created by @NeilIrvingMacc on 8/22/2017* I am getting the following error when debugging a project in VS Code 1.15.1: Got the template using this: npm install -g yo generator-aspnetcore-spa yo aspnetcore-spa Made sure I had the correct webpack: npm install webpack@2.5.1 Webpacked the files: webpack --config webpack.config.vendor.js webpack --config webpack.config.js changed TemplateURL: to template: and Styleurls: to styles: see this article: https://stackoverflow.com/questions/41797199/angular2-asp-net-no-resourceloader-implementation-has-been-provided-cant-re Pressed F5 / debug in VS Code and got this: Call to Node module failed with error: Error: Uncaught (in promise): Error: Cannot find primary outlet to load 'HomeComponent' Is it that the typescript needs to be compiled again? Using VSCode as I am doing a personal project Thanks Neil
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#480
No description provided.