cadabloom / aspnetcoreangular Goto Github PK
View Code? Open in Web Editor NEWSample project made with AspNetCore and Angular4 using Visual studio 2017
Sample project made with AspNetCore and Angular4 using Visual studio 2017
First of all, thanks for template.
Getting 2 errors on console when i try to add this template to my project.
Error 1:webpack watch
ERROR in Entry module not found: Error: Can't resolve 'watch' in 'C:\Users\hsan\Source\Repos\lctest\lctest\lctest'
resolve 'watch' in 'C:\Users\hsan\Source\Repos\lctest\lctest\lctest'
Parsed request is a module
using description file: C:\Users\hsan\Source\Repos\lctest\lctest\lctest\package.json (relative path: .)
after using description file: C:\Users\hsan\Source\Repos\lctest\lctest\lctest\package.json (relative path: .)
resolve as module
C:\Users\hsan\Source\Repos\lctest\lctest\node_modules doesn't exist or is not a directory
C:\Users\hsan\Source\Repos\lctest\node_modules doesn't exist or is not a directory
C:\Users\hsan\Source\Repos\node_modules doesn't exist or is not a directory
C:\Users\hsan\Source\node_modules doesn't exist or is not a directory
C:\Users\hsan\node_modules doesn't exist or is not a directory
C:\Users\node_modules doesn't exist or is not a directory
C:\node_modules doesn't exist or is not a directory
looking for modules in C:\Users\hsan\Source\Repos\lctest\lctest\lctest\node_modules
using description file: C:\Users\hsan\Source\Repos\lctest\lctest\lctest\package.json (relative path: ./node_modules)
after using description file: C:\Users\hsan\Source\Repos\lctest\lctest\lctest\package.json (relative path: ./node_modules)
using description file: C:\Users\hsan\Source\Repos\lctest\lctest\lctest\package.json (relative path: ./node_modules/watch)
no extension
C:\Users\hsan\Source\Repos\lctest\lctest\lctest\node_modules\watch doesn't exist
.js
C:\Users\hsan\Source\Repos\lctest\lctest\lctest\node_modules\watch.js doesn't exist
.ts
C:\Users\hsan\Source\Repos\lctest\lctest\lctest\node_modules\watch.ts doesn't exist
as directory
C:\Users\hsan\Source\Repos\lctest\lctest\lctest\node_modules\watch doesn't exist
Error 2 :dotnet watch
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0]
An unhandled exception has occurred: Call to Node module failed with error: Error: No ResourceLoader implementation has been provided. Can't read the url "app.component.html"
at Object.get (C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:60768:15)
at DirectiveNormalizer.module.exports.DirectiveNormalizer._fetch (C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:47872:45)
at DirectiveNormalizer.module.exports.DirectiveNormalizer.normalizeTemplateAsync (C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:47927:21)
at DirectiveNormalizer.module.exports.DirectiveNormalizer.normalizeTemplate (C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:47899:44)
at CompileMetadataResolver.module.exports.CompileMetadataResolver._loadDirectiveMetadata (C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:48830:75)
at C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:49026:54
at Array.forEach (native)
at CompileMetadataResolver.module.exports.CompileMetadataResolver.loadNgModuleDirectiveAndPipeMetadata (C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:49025:41)
at C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:60221:58
at Array.forEach (native)
System.Exception: Call to Node module failed with error: Error: No ResourceLoader implementation has been provided. Can't read the url "app.component.html"
at Object.get (C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:60768:15)
at DirectiveNormalizer.module.exports.DirectiveNormalizer._fetch (C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:47872:45)
at DirectiveNormalizer.module.exports.DirectiveNormalizer.normalizeTemplateAsync (C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:47927:21)
at DirectiveNormalizer.module.exports.DirectiveNormalizer.normalizeTemplate (C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:47899:44)
at CompileMetadataResolver.module.exports.CompileMetadataResolver._loadDirectiveMetadata (C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:48830:75)
at C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:49026:54
at Array.forEach (native)
at CompileMetadataResolver.module.exports.CompileMetadataResolver.loadNgModuleDirectiveAndPipeMetadata (C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:49025:41)
at C:\Users\hsan\Source\Repos\lctest\lctest\lctest\ClientApp\dist\vendor.js:60221:58
at Array.forEach (native)
at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance.<InvokeExportAsync>d__7`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.<InvokeExportAsync>d__13`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.<InvokeExportWithPossibleRetryAsync>d__10`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.SpaServices.Prerendering.PrerenderTagHelper.<ProcessAsync>d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at AspNetCore._Views_Home_Index_cshtml.<ExecuteAsync>d__31.MoveNext() in /Views/Home/Index.cshtml:line 2
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.<RenderPageAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.<RenderAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.<ExecuteAsync>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.ViewResult.<ExecuteResultAsync>d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeResultAsync>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextResultFilterAsync>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ResultExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextResourceFilter>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ResourceExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeAsync>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>d__6.MoveNext()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.