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

Version releases break npm ci in dependents #47

Closed
3 of 6 tasks
jonas-jonas opened this issue Nov 3, 2022 · 3 comments
Closed
3 of 6 tasks

Version releases break npm ci in dependents #47

jonas-jonas opened this issue Nov 3, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@jonas-jonas
Copy link
Member

jonas-jonas commented Nov 3, 2022

Preflight checklist

Describe the bug

Version release to NPM currently break ci pipelines across Ory's repos with an npm error. Not sure what causes it, but we need to fix that :)

Reproducing the bug

  1. Release a new ory/elements version to the npm registry
  2. start a ci run in the network repo
  3. See the world burn (see the error)

Relevant log output

#12 sha256:17cb8e5d3f03427013d0ae990dbb92f47e22ac4a3e7bcd0087c8baa08e83e07b
#12 2.875 npm notice 
#12 2.875 npm notice New minor version of npm available! 8.11.0 -> 8.19.2
#12 2.875 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.19.2>
#12 2.875 npm notice Run `npm install -g [email protected]` to update!
#12 2.875 npm notice 
#12 2.875 npm ERR! code EUSAGE
#12 2.878 npm ERR! 
#12 2.878 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.
#12 2.878 npm ERR! 
#12 2.879 npm ERR! Invalid: lock file's @ory/[email protected] does not satisfy @ory/[email protected]
#12 2.879 npm ERR! 
#12 2.879 npm ERR! Clean install a project
#12 2.879 npm ERR! 
#12 2.879 npm ERR! Usage:
#12 2.879 npm ERR! npm ci
#12 2.880 npm ERR! 
#12 2.880 npm ERR! Options:
#12 2.880 npm ERR! [--no-audit] [--foreground-scripts] [--ignore-scripts]
#12 2.880 npm ERR! [--script-shell <script-shell>]
#12 2.880 npm ERR! 
#12 2.880 npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
#12 2.880 npm ERR! 
#12 2.880 npm ERR! Run "npm help ci" for more info
#12 2.883 
#12 2.883 npm ERR! A complete log of this run can be found in:
#12 2.883 npm ERR!     /root/.npm/_logs/2022-11-03T18_23_01_384Z-debug-0.log

Relevant configuration

No response

Version

master

On which operating system are you observing this issue?

No response

In which environment are you deploying?

No response

Additional Context

No response

@jonas-jonas jonas-jonas added the bug Something isn't working label Nov 3, 2022
@aeneasr
Copy link
Member

aeneasr commented Nov 4, 2022

The problem was work on the license stuff, I don’t think it was related to this repo here. Underlying issue:

npm/cli#5113
npm/cli#4664
npm/cli#4828

@Benehiko
Copy link
Contributor

I believe this is fixed @jonas-jonas?

@jonas-jonas
Copy link
Member Author

I think so, haven't seen it in a long time..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants