Skip to content
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

Issues with versions of envelop/core + envelop/types. @4 + @5 #635

Closed
tatiananeda opened this issue Apr 17, 2024 · 5 comments
Closed

Issues with versions of envelop/core + envelop/types. @4 + @5 #635

tatiananeda opened this issue Apr 17, 2024 · 5 comments

Comments

@tatiananeda
Copy link

Install latest package (2.4.0) into node 20/npm 9 env, run npm ci after installation, following errors happen:

npm ERR! code EUSAGE
npm ERR! 
npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm ERR! 
npm ERR! Invalid: lock file's @envelop/core@4.0.3 does not satisfy @envelop/core@5.0.0
npm ERR! Invalid: lock file's @envelop/types@4.0.1 does not satisfy @envelop/types@5.0.0
npm ERR! Missing: @envelop/core@4.0.3 from lock file
npm ERR! Missing: @envelop/core@4.0.3 from lock file
npm ERR! Missing: @envelop/core@4.0.3 from lock file
npm ERR! Missing: @envelop/core@4.0.3 from lock file
npm ERR! Missing: @envelop/types@4.0.1 from lock file
npm ERR! Missing: @envelop/types@4.0.1 from lock file
npm ERR! Missing: @envelop/types@4.0.1 from lock file
npm ERR! Missing: @envelop/types@4.0.1 from lock file
npm ERR! 
npm ERR! Clean install a project
npm ERR! 
npm ERR! Usage:
npm ERR! npm ci
npm ERR! 
npm ERR! Options:
npm ERR! [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
npm ERR! [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm ERR! [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
npm ERR! [--no-bin-links] [--no-fund] [--dry-run]
npm ERR! [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
npm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links]
npm ERR! 
npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
npm ERR! 
npm ERR! Run "npm help ci" for more info

npm ERR! A complete log of this run can be found in: ....../2024-04-17T11_17_23_859Z-debug-0.log

checked with npm ls these packages come from dependencies of graphql-armor.

Does not happen with 2.3.0

@tatiananeda
Copy link
Author

Can provide a fix MR if you're ok with it.

@nullswan
Copy link
Member

Can provide a fix MR if you're ok with it.

Feel free to provide a MR 👍
Any idea which package is causing this ?

@tatiananeda
Copy link
Author

tatiananeda commented Apr 23, 2024

it's outdated graphql-yoga in yoga example, I'll try to make MR when I have time, unless you will earlier

@nullswan
Copy link
Member

it's outdated graphql-yoga in yoga example, I'll try to make MR when I have time, unless you will earlier

I am not sure the examples are linked to the actual package.
Merged #458 meanwhile.

@nullswan
Copy link
Member

Released in 3.0.0

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

No branches or pull requests

2 participants