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

ci: fix package-lock.json #820

Merged
merged 2 commits into from
Dec 26, 2023
Merged

ci: fix package-lock.json #820

merged 2 commits into from
Dec 26, 2023

Conversation

nsbarsukov
Copy link
Member

@nsbarsukov nsbarsukov commented Dec 26, 2023

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Refactoring
  • Build or CI related changes
  • Tests related changes
  • Documentation content changes

What is the current behaviour?

npm >= v8.11.0

nvm use 16.15.1 # npm v8.11.0
rm -rf package-lock.json node_modules **/node_modules
npm i --workspaces --include-workspace-root
npm ci

it throws

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 [email protected] does not satisfy [email protected]
npm ERR! Missing: [email protected] from lock file
npm ERR! Missing: [email protected] from lock file
npm ERR! Invalid: lock file's [email protected] does not satisfy [email protected]
npm ERR! Missing: [email protected] from lock file
npm ERR! Missing: [email protected] from lock file
npm ERR! 
npm ERR! Clean install a project
npm ERR! 
npm ERR! Usage:
npm ERR! npm ci

npm <= v8.5.5

nvm use 16.15.0 # npm v8.5.5
rm -rf package-lock.json node_modules **/node_modules
npm i --workspaces --include-workspace-root
npm ci

No error ✅

What is the new behaviour?

Temporary workaround until fix of this issue:

Copy link
Contributor

Visit the preview URL for this PR (updated for commit 56eb827):

https://maskito--pr820-fix-package-lock-nazksxoo.web.app

(expires Wed, 27 Dec 2023 15:41:01 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 61e4dea776cbea516b68c67840913d2edd88bb90

@splincode splincode merged commit d153902 into main Dec 26, 2023
24 checks passed
@splincode splincode deleted the fix-package-lock branch December 26, 2023 16:05
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 this pull request may close these issues.

2 participants