aspnetcore-Vue-starter icon indicating copy to clipboard operation
aspnetcore-Vue-starter copied to clipboard

"dotnet run" doesn't work. only work with "npm run dev"

Open ggokka opened this issue 5 years ago • 4 comments

When I run the command "dotnet run", the result is nothing. I only saw the empty page in the browser.

However after the run "npm run dev" I could see the functioning service in the browser.

ggokka avatar Apr 11 '19 08:04 ggokka

Thanks for letting me know I'll take a look! Worst case we just remove that from the documentation for now until it's resolved.

MarkPieszak avatar Apr 11 '19 13:04 MarkPieszak

I am also having this problem. Using Lubuntu and VS Code.

coryfinnegan avatar Apr 17 '19 02:04 coryfinnegan

I also get a blank page. installed via git on windows. Firefox console:

17:33:13.783 The script from “https://localhost:5001/dist/main.js” was loaded even though its MIME type (“”) is not a valid JavaScript MIME type.
2 localhost:5001
17:33:13.800 Loading failed for the <script> with source “https://localhost:5001/dist/main.js”. localhost:5001:23:1
17:33:13.853 Use of Mutation Events is deprecated. Use MutationObserver instead. pageModifier.js:81:24
17:33:13.853 undefined

michidk avatar Jul 07 '19 15:07 michidk

Removing it from the Readme/docs right now - I believe this functionality might of been lost quite a while ago.

Running npm run dev should be the recommended way going forward :+1:

MarkPieszak avatar Jul 07 '19 21:07 MarkPieszak