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

Prerendering failed because of error: Error: Cannot find module '/../bin/Release/netcoreapp1.1/publish/ClientApp/boot-server' #42

Open alvirtuoso opened 7 years ago

alvirtuoso commented 7 years ago

I tested deploying this but gave me the command line error cannot find boot-server. My browser shows this: An error occurred while processing your request. I'm using Mac with environment setting ASPNETCORE_ENVIRONMENT=Production

elucidsoft commented 7 years ago

I have the same issue, this template works great in development but when you publish it, it doesn't work...

MarkPieszak commented 7 years ago

It's probably this here: https://github.com/MarkPieszak/aspnetcore-Vue-starter/commit/ef6ce477b5649695e45d41922925ba4d9e484f48

Can you just remove that line, and it should fix it. Let me know! @alvirtuoso @elucidsoft

elucidsoft commented 7 years ago

Yes, that was it...Works now on Azure Web

elucidsoft commented 7 years ago

But I also had to change global.json to point to sdk: version 2.0.0 or I was getting some really weird errors.

MarkPieszak commented 7 years ago

Can you make a PR to update that in here as well to help others? Not by a computer at the moment. I'm glad we figured it out though!