TrilonIO / aspnetcore-Vue-starter

*NEW* Asp.net Core & Vue.js (ES6) SPA Starter kit - Vuex, webpack, Web API, Docker, and more! By @TrilonIO
https://www.trilon.io
MIT License
1.22k stars 266 forks source link

Blank Page on start up #130

Open rcreynolds53 opened 5 years ago

rcreynolds53 commented 5 years ago

Just to expand upon bug #91

I have tried npm run build, npm installand it does not matter, every time that I attempt to start the Application in .NET Core it will fail to load, main js, vendor css, and vendor js.

I think that the starter app is fantastic considering that there are not a lot of other vue spa resources out there for .NET Core, but this makes it very difficult to work with when everytime you run the app it fails.

Is there any solution to this?

I have attached a picture of when i do an npm install Capture

Here is a pic of what it looks like when an npm run build is run Capture2

MarkPieszak commented 5 years ago

It may be a change you need to make from this latest commit (I'll make sure this gets pushed up to Nuget as well). https://github.com/TrilonIO/aspnetcore-Vue-starter/commit/1657c3573b2280378da91729c49d2bd5ccbe1ca0 @rcreynolds53

If you run npm run dev to see the same issue?

Sometimes wiping out node_modules entirely, reinstalling, and running npm run dev might fix the issue.

Just to make sure it's not anything else - what version of Node are you running? node --version to check.

rcreynolds53 commented 5 years ago

@MarkPieszak I have tried doing incognito windows, different browsers, deleting node_modules and reinstalling them, npm run dev, npm install, npm run build, and none of it works for my localhost. I am running node 10.16

MarkPieszak commented 5 years ago

Very odd! Did you install from Nuget or through git? Everything seems to be running fine here locally with new installations, not sure what else could be causing it. @rcreynolds53

rcreynolds53 commented 5 years ago

I installed it through git has this been an issue anywhere else? @MarkPieszak

MarkPieszak commented 5 years ago

So far everything seems good for others - are you on Windows or Mac?

rcreynolds53 commented 5 years ago

I am using windows.