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 project uses invalid gatsby-plugin-image #5163

Open
1 task done
CobusKruger opened this issue Jan 9, 2025 · 0 comments
Open
1 task done

Gatsby project uses invalid gatsby-plugin-image #5163

CobusKruger opened this issue Jan 9, 2025 · 0 comments

Comments

@CobusKruger
Copy link

Describe the bug

I created a new Gatsby blog (my third attempt). This time, it actually ran npm install, but the install kept failing, because it insists on using the same version (^15.12.0) for all the Gatsby packages. But gatsby-plugin-image is still in the 3.14 range. I updated it myself and reran npm install. That worked, but the project wouldn't launch. Using the autofix feature just reverted the package version again. Even after specifically telling Bolt that the latest package version is 3.14, it would revert to the invalid package version.

Link to the Bolt URL that caused the error

https://bolt.new/~/sb1-jyu3qazr

Validations

  • Please make your project public or accessible by URL. This will allow anyone trying to help you to easily reproduce the issue and provide assistance.

Steps to reproduce

  1. Create a Gatsby blog
  2. Check the version of gatsby-plugin-image in package.json

Expected behavior

It should use the latest valid version. Once I told it what the problem was, I expect it to revert that package to the correct version, but it remained confused.

Screen Recording / Screenshot

No response

Platform

Browser name = Chrome
Full version = 131.0.0.0
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 163016917,
  "usedJSHeapSize": 90637085,
  "jsHeapSizeLimit": 4294705152
}
Username = CobusKruger
Chat ID = 8b83937f656c

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant