Skip to content

ProjectTemplates instructions error #55975

Open
@sebastienros

Description

@sebastienros

I am following the Building locally instructions for Project Templates, the first suggested command line doesn't work for me:

eng\build.cmd -all -pack -configuration Release

Restore complete (1.5s)
  Npm.Workspace failed with 2 error(s) (105.0s)
    EXEC : error : D:\aspnetcore\artifacts\obj\Npm.Workspace\Release\packagesToPack.json: ENOENT: no such file or directory, open 'D:\aspnetcore\artifacts\obj\Npm.Workspace\Release\packagesToPack.json'
    D:\aspnetcore\eng\Npm.Workspace.nodeproj(68,5): error MSB3073: The command "node D:\aspnetcore\eng\scripts/npm/pack-workspace.mjs --create-packages D:\aspnetcore\package.json 9.0.0dev D:\aspnetcore\artifacts\packages\Release\Shipping\ D:\aspnetcore\artifacts\obj\Npm.Workspace\Release\" exited with code 1.

Build failed with 2 error(s) in 167.2s
Build failed with exit code 1. Check errors above.
build.cmd completed

I understand it's not specific to templates since it's building everything, but trying to figure out what other instructions we might need to add to get this working. I already did

npm ci
.\restore.cmd
. \activate.ps1

Metadata

Metadata

Assignees

Labels

area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworkfeature-templatestask

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions