Angular2/ASP.NET - “No ResourceLoader implementation has been provided. Can't read the URL”

前端 未结 7 1479
名媛妹妹
名媛妹妹 2021-02-13 19:24

I\'m trying to build my own Angular 2/ASP.NET SPA on Visual Studio. You can find all the files here.

What I tried to do is simple: after I followed the instructions to

7条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-13 19:55

    My problem was I'm a webpack noob and tried to execute a tsc command which as per Steve Sanderson:

    causes VS to spew garbage .js files all over your source directories...

    The fix is to

    1. Clean up any *.js and *.js.map files
    2. Ensure is true in the *.csproj
    3. Try running project again

提交回复
热议问题