Skip to content

Cannot install version 0.12.0 #487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rwysocki-equinix opened this issue Sep 29, 2023 · 2 comments · Fixed by #525
Closed

Cannot install version 0.12.0 #487

rwysocki-equinix opened this issue Sep 29, 2023 · 2 comments · Fixed by #525

Comments

@rwysocki-equinix
Copy link

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

@paales
Copy link
Contributor

paales commented Dec 8, 2023

Running into this as well. @Code-Hex, ideas?

@Code-Hex Code-Hex mentioned this issue Dec 9, 2023
Code-Hex added a commit that referenced this issue Dec 9, 2023
@Code-Hex
Copy link
Owner

Code-Hex commented Dec 9, 2023

@rwysocki-equinix @paales I'm sorry late. I was busy.

I just published the latest version as v0.12.1 which includes this fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants