-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Cannot run npm install
: unable to resolve dependency tree - Found: immutable@3.7.6
#28925
Comments
npm install
: unable to resolve dependency tree - Found: immutable@3.7.6
I get a similar warning on the latest npm version: npm --version May be related to npm/cli#2199
|
Thanks for the pointer to the npm issue. Please downgrade your Node version/NPM version to LTS and see if it works. |
@zhenghaohe The repo seems to have a yarn.lock, so could you try installing with yarn instead? |
Hi. I'm going to close this now, as we can't do much to help without a reproduction. If you are able to create a minimal reproduction for this then please do reopen the issue. Thanks! |
Just to help others, this is a node/npm issue. I use |
|
npm ERR! While resolving: cara@0.2.11 |
SOLVED npm install --legacy-peer-deps |
works like a charm @ModernArtisan, you are my hero |
Description
I have a Gatsby package and it was working out fine yesterday but today I tried to start the dev server I got an error.
And I nuked the whole node module folder and rerun
npm install
it showed this errorSteps to reproduce
download my repo and
npm i
https://github.com/zhenghaohe/zhenghao.meEnvironment
System:
OS: macOS 10.15.7
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 15.5.1 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 7.4.0 - /usr/local/bin/npm
Languages:
Python: 2.7.16 - /usr/local/bin/python
Browsers:
Chrome: 87.0.4280.141
Firefox: 83.0
Safari: 14.0.1
npmPackages:
gatsby: ^2.3.25 => 2.16.5
gatsby-image: ^2.0.39 => 2.2.29
gatsby-plugin-feed-mdx: ^1.0.0 => 1.0.0
gatsby-plugin-google-analytics: ^2.0.18 => 2.1.23
gatsby-plugin-layout: ^1.3.3 => 1.3.3
gatsby-plugin-manifest: ^2.0.29 => 2.2.23
gatsby-plugin-mdx: ^1.2.14 => 1.2.15
gatsby-plugin-netlify-cms: ^4.0.0 => 4.1.25
gatsby-plugin-offline: ^2.0.25 => 2.2.10
gatsby-plugin-react-helmet: ^3.0.12 => 3.1.13
gatsby-plugin-scroll-reveal: ^0.0.7 => 0.0.7
gatsby-plugin-sharp: ^2.0.35 => 2.2.32
gatsby-plugin-smoothscroll: ^1.1.0 => 1.1.0
gatsby-plugin-styled-components: ^3.0.7 => 3.1.11
gatsby-plugin-typography: ^2.2.13 => 2.3.14
gatsby-remark-copy-linked-files: ^2.0.11 => 2.1.28
gatsby-remark-images: ^3.3.9 => 3.3.9
gatsby-remark-responsive-iframe: ^2.1.1 => 2.2.25
gatsby-remark-smartypants: ^2.0.9 => 2.1.14
gatsby-remark-unwrap-images: ^1.0.2 => 1.0.2
gatsby-remark-vscode: 2.1.2 => 2.1.2
gatsby-source-filesystem: ^2.0.29 => 2.1.33
gatsby-transformer-sharp: ^2.1.18 => 2.2.23
npmGlobalPackages:
gatsby-cli: 2.12.38
Run
gatsby info --clipboard
in your project directory and paste the output here.The text was updated successfully, but these errors were encountered: