TryGhost / TryGhost/Source

unable to resolve dependency tree when running `npm i`

Open
#105 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
129
Forks
258
Avg merge
2h 57m
Merged PRs (30d)
36

Description

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: source@1.5.0
npm error Found: postcss@8.2.13
npm error node_modules/postcss
npm error   dev postcss@"8.2.13" from the root project
npm error
npm error Could not resolve dependency:
npm error peer postcss@"^8.2.15" from cssnano@5.1.12
npm error node_modules/cssnano
npm error   dev cssnano@"5.1.12" from the root project

Couldn't install deps locally

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running npm i and inspect the root project's dependency manifest for the declared postcss@8.2.13 and cssnano@5.1.12 versions. Update the dependency versions so cssnano's ^8.2.15 peer requirement is satisfied, then confirm that npm i completes without ERESOLVE.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, node.js
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.