Skip to content

corepack use fails with ENOENT: no such file or directory, open '/app/package.json' #347

Description

@styfle

When a package.json file is missing, corepack use fails with ENOENT.

I think it would be great if corepack could create the package.json file when its missing.

It would avoid the need to call npm init -y, yarn init -y, or pnpm init in some cases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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