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

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

Open alvirtuoso opened this issue 8 years ago • 5 comments

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

alvirtuoso avatar Jul 12 '17 22:07 alvirtuoso

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

elucidsoft avatar Aug 26 '17 15:08 elucidsoft

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

MarkPieszak avatar Aug 26 '17 17:08 MarkPieszak

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

elucidsoft avatar Aug 26 '17 18:08 elucidsoft

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

elucidsoft avatar Aug 26 '17 18:08 elucidsoft

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!

MarkPieszak avatar Aug 26 '17 18:08 MarkPieszak