Skip to content

npm install error on wasm helix Dockerfile #951

@mthalman

Description

@mthalman

When image caching is disabled, the Linux_amd64 src-ubuntu-18.04-helix-graph build leg is failing with this error:

 > [4/7] RUN npm install -g npm:
#7 0.709 npm ERR! code EBADENGINE
#7 0.710 npm ERR! engine Unsupported engine
#7 0.710 npm ERR! engine Not compatible with your version of node/npm: [email protected]
#7 0.710 npm ERR! notsup Not compatible with your version of node/npm: [email protected]
#7 0.711 npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"}
#7 0.711 npm ERR! notsup Actual:   {"npm":"8.19.3","node":"v16.19.0"}
#7 0.712 
#7 0.712 npm ERR! A complete log of this run can be found in:
#7 0.712 npm ERR!     /root/.npm/_logs/2024-01-10T17_06_48_948Z-debug-0.log

This happens when building Dockerfile: https://github.com/dotnet/dotnet-buildtools-prereqs-docker/blob/main/src/ubuntu/18.04/helix/webassembly/Dockerfile

Build link (internal only)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions