dotnet-architecture / eShopOnContainers

Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 7, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor. Moved to https://github.com/dotnet/eShop.
https://dot.net/architecture
24.58k stars 10.36k forks source link

Running from Visual Studio ends with compilation error - Node.js requiered to build and run this project. #2163

Open LukasKubicek opened 9 months ago

LukasKubicek commented 9 months ago

I cloned the repository, opened in Visual Studio, pressed RUN and it ended with this error:

image

I have Visual Studio 2022 Community Edition with Node.js development package installed. Is it not enough?

Also I expected that such dependencies would be used only inside docker?

I have no experience with Node.js and I would prefer if it is installed like any other dependency so I don't have to manage it manually on the level of my Windows OS, take care of versions, updating it etc.

erjain commented 9 months ago

Hi @LukasKubicek, you can refer to the issue https://github.com/dotnet-architecture/eShopOnContainers/issues/2062#issuecomment-1477834665 to ensure the node.js is installed properly. Though your idea is quite interesting. I hope it helps.