Skip to content

Pre/Post restore script does not run #6350

Closed
@dlebedynskyi

Description

@dlebedynskyi

Steps to reproduce

have a project.json file with

"scripts": {
        "postrestore": ["npm install"],

run dotnet restore

Expected behavior

npm install to run and node packages are restored. As it was before in RC1.

Actual behavior

npm install does not run no matter if you use prerestore, postrestore, npm install as an [] or not.

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.0-preview1-002702)

Product Information:
 Version:     1.0.0-preview1-002702
 Commit Sha:  6cde21225e

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.10586
 OS Platform: Windows
 RID:         win10-x64

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