Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

npm ci fails on first build for Node >= 16.15.1 #272

Open
1 task
drewbo opened this issue Aug 23, 2022 · 0 comments
Open
1 task

npm ci fails on first build for Node >= 16.15.1 #272

drewbo opened this issue Aug 23, 2022 · 0 comments

Comments

@drewbo
Copy link
Contributor

drewbo commented Aug 23, 2022

The first build of this repo using npm ci and Node 16.15.1 or higher (npm v8.11.0) will fail:

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! Missing: redux@3.7.2 from lock file

Notes

  • Somewhere down the dependency chain, netlify-cms requires redux-notifications which requires an older version of redux (3.7.2) which isn't present in the lockfile. This causes npm ci to fail.
  • The same command succeeds on Node v.16.15.0 which uses npm 8.5.5. It's likely that the some type of dependency resolution/checking was changed between these npm versions which causes the build to fail

Acceptance Criteria

  • npm ci succeeds on this repository without any changes
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant