Monday, 5 June 2017

How can I deploy an asp.net core website without requiring nodejs on the server?

I am deploying my first asp.net core website. We are using NPM to manage packages from a dev perspective, but I was not under the impression that would make node js a requirement on the server hosting the website?

Right now, I'm getting "InvalidOperationException: Failed to start Node process" if I try to run the website. In an effort to keep the server as lean as possible, I would prefer not having node js on there. Plus, I have a concern it will try to update / download packages at runtime rather than include them when I deploy (from Visual Studio 2017 deploy to file option).



via David

No comments:

Post a Comment