Skip to content

ASP.NET Core node error in CI on Ubuntu2204 legs #3927

@MichaelSimons

Description

@MichaelSimons

The following build error is occurring in the two Ubutntu2204 CI legs (x64/arm64)

    npm ERR! code 1
    npm ERR! path /vmr/src/aspnetcore/artifacts/sb/src/node_modules/puppeteer
    npm ERR! command failed
    npm ERR! command sh -c node install.mjs
    npm ERR! file:///vmr/src/aspnetcore/artifacts/sb/src/node_modules/puppeteer/install.mjs:20
    npm ERR!   const {downloadBrowser} = await (async () => {
    npm ERR!                             ^^^^^
    npm ERR! 
    npm ERR! SyntaxError: Unexpected reserved word
    npm ERR!     at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
    npm ERR!     at async link (internal/modules/esm/module_job.js:42:21)
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2024-01-11T08_48_17_144Z-debug-0.log
  /vmr/src/aspnetcore/eng/SourceBuild.props(99,5): error MSB3073: The command "npm ci" exited with code 1. [/vmr/artifacts/source-built-sdks/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj]
##[error]/vmr/src/aspnetcore/eng/SourceBuild.props(99,5): error MSB3073: The command "npm ci" exited with code 1.

Failing Build (internal microsoft link)

This appears related to dotnet/aspnetcore#53154.

Metadata

Metadata

Assignees

Labels

area-upstream-fixNeeds a change in a contributing repoops-monitorIssues created/handled by the source build monitor role

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions