Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

WebPSA error when deploying linux-dev - (Failed to start 'npm') #1983

@kbeaugrand

Description

@kbeaugrand

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:

AggregateException: One or more errors occurred. (Failed to start 'npm'. To resolve this:.

[1] Ensure that 'npm' is installed and can be found in one of the PATH directories.
Current PATH enviroment variable is: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Make sure the executable is in one of those directories, or update your PATH.

Regarding the Dokerfile code, it seems to be normal because the image uses aspnet:6.0 which does not contain nodejs or npm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions