-
Notifications
You must be signed in to change notification settings - Fork 10.4k
WebPSA error when deploying linux-dev - (Failed to start 'npm') #1983
Comments
By looking in the helm chart for the WebSPA service, it seems that it has been kept on Development environment. I think it should be
What do you think about that ? |
Hi, thanks for testing eShop and posting here. I have tested it completely using public images |
@erjain , My bad, I made a mistake in the issue details. |
Hi @kbeaugrand, Can you share any logs? |
Sure, here are the logs when deploying with ASPNETCORE_ENVIRONMENT set to
|
It seems to be some system-specific temporary error, basically, it's not able to find npm, are you able to run it on your machine when the value is updated to production?
|
Yes, it works when specifying to production. |
Thanks for the PR @kbeaugrand, I suggest keeping the value as it is and later we will update the documentation and keep this issue for the reference of community users, in case of a similar issue users can refer to it. I am closing this issue now, please feel free to reopen it in case of further queries. |
This issue just happened to me, changing the value in the helm chart fixed it. But I didnt see any references to documentation here https://github.com/dotnet-architecture/eShopOnContainers/wiki/Deploy-to-Azure-Kubernetes-Service-(AKS). Do you still plan to update the docs or would it be better to update the helm chart itself? |
Hi,
I've an issue when using WebSPA and deploying the linux-dev image.
WebSPA container starts but is unable to process requests since npm seems to not beeing installed on the container:
Regarding the Dokerfile code, it seems to be normal because the image uses aspnet:6.0 which does not contain nodejs or npm.
The text was updated successfully, but these errors were encountered: