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

Gatsby-CLI Peer Dependencies issue? #27172

Closed
blangsmgi opened this issue Sep 29, 2020 · 4 comments
Closed

Gatsby-CLI Peer Dependencies issue? #27172

blangsmgi opened this issue Sep 29, 2020 · 4 comments
Labels
type: bug An issue or pull request relating to a bug in Gatsby type: question or discussion Issue discussing or asking a question about Gatsby

Comments

@blangsmgi
Copy link

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

@blangsmgi blangsmgi added the type: bug An issue or pull request relating to a bug in Gatsby label Sep 29, 2020
@gatsbot gatsbot bot added type: question or discussion Issue discussing or asking a question about Gatsby status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Sep 29, 2020
@blangsmgi
Copy link
Author

Another Attempt

Tried again on my home iMac just now.

I again used the command to install Gatsby CLI globally. Here is the result of the installation:

image
image

Installation was successful, but followed by a ton of warnings. And again, checking what was installed globally shows a long list of missing peer dependences:

image

Environment

System:
OS: macOS Mojave 10.14.6
CPU: (4) x64 Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 14.13.0 - /usr/local/bin/node
Yarn: 1.22.5 - /usr/local/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Languages:
Python: 2.7.16 - /usr/bin/python
Browsers:
Chrome: 85.0.4183.121
Firefox: 81.0
Safari: 14.0
npmGlobalPackages:
gatsby-cli: 2.12.101

@wardpeet wardpeet removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Sep 30, 2020
@wardpeet
Copy link
Contributor

Thank you, we're aware and currently fixing the situation :)

Both PRs should fix the issue:
#27058
#27057

@blangsmgi
Copy link
Author

Good to hear. Thank you!

@suato
Copy link

suato commented Oct 26, 2020

i have the same issue just like the mac user but I use a windows system and mine just occurred now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug An issue or pull request relating to a bug in Gatsby type: question or discussion Issue discussing or asking a question about Gatsby
Projects
None yet
Development

No branches or pull requests

3 participants