Skip to content

Gatsby-CLI Peer Dependencies issue? #27172

@blangsmgi

Description

@blangsmgi

Description

My terminal window shows a long list of missing peer dependencies on a fresh install of Gatsby-CLI:

image

As far as I know it's not best practice to install some of these packages globally. I think this may be a bug?

Steps to reproduce

I have just installed Gatsby-CLI as per the documentation
npm install -g gatsby-cli

I wanted to see what else I had globally installed, so I ran
npm list -g --depth 0

Terminal window displays the long list of missing peer dependencies as shown above.

Expected result

No errors for missing peer dependencies

Actual result

Long list of missing peer dependencies

Environment

System:
OS: Linux 4.4 Ubuntu 20.04.1 LTS (Focal Fossa)
CPU: (2) x64 Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 14.12.0 - ~/.nvm/versions/node/v14.12.0/bin/node
npm: 6.14.8 - /usr/bin/npm
npmGlobalPackages:
gatsby-cli: 2.12.101

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugAn issue or pull request relating to a bug in Gatsbytype: question or discussionIssue discussing or asking a question about Gatsby

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions