Skip to content

Cannot install version 0.12.0 #487

Closed
@rwysocki-equinix

Description

@rwysocki-equinix

When running npm i graphql-codegen-typescript-validation-schema

I get the following error message:

npm ERR! code 1
npm ERR! path [...]/node_modules/graphql-codegen-typescript-validation-schema
npm ERR! command failed
npm ERR! command sh -c -- npx only-allow pnpm
npm ERR! npm ERR! code SELF_SIGNED_CERT_IN_CHAIN
npm ERR! npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN

Downgrading to version 0.11.1 fixes the issue.
I believe that line: "preinstall": "npx only-allow pnpm", should be used only in projects, not libraries like this one, as it also propagates to projects using it. I think the intention behind this line was to enforce that every contributor is using pnpm, not every end-user

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions