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 v5 support #99

Open
artem-metliakov opened this issue Feb 1, 2023 · 17 comments
Open

Gatsby v5 support #99

artem-metliakov opened this issue Feb 1, 2023 · 17 comments

Comments

@artem-metliakov
Copy link

Is your feature request related to a problem? Please describe.
Try to update gatsby to version 5. The plugin is not compatible with Gatsby 5

npm i gatsby-plugin-gdpr-cookies:
Found: [email protected]

Could not resolve dependency:
peer gatsby@"^2.24.77 || ^3.0.0 || ^4.0.0" from [email protected]

Describe the solution you'd like
The plugin is compatible with Gatsby 5

@rostacik
Copy link

rostacik commented Feb 5, 2023

it seems like code in github is v5 compatible

https://github.com/andrezimpel/gatsby-plugin-gdpr-cookies/blob/master/package.json#L51

so a "hothot" fix might be you install this plugin from github repo - something like npm install https://github.com/andrezimpel/gatsby-plugin-gdpr-cookies.git

which will make something like "gatsby-plugin-gdpr-cookies": "github:andrezimpel/gatsby-plugin-gdpr-cookies", in package.json

@artem-metliakov
Copy link
Author

Thank you! It worked. But it's good to have a regular release on NPM

@rostacik
Copy link

rostacik commented Feb 6, 2023

@artem-metliakov sure thing, maybe they forgot to bump up the version number since it seems the same, not sure really but outcome is things are broken on my box too like you described from npm

@xSyki
Copy link

xSyki commented Feb 23, 2023

@andrezimpel Could you release a new version on npm that supports gatsby 5? These fixes are already on master.

@kubacichorski
Copy link

@andrezimpel any updates on this?

@apmsooner
Copy link

Experiencing this too. @andrezimpel - can you please kick off a new release?

@ArmanNisch
Copy link

+1

@magixpaul
Copy link

+1
if this could be updated in NPM that would be awesome

@jamiefrew
Copy link

+1

1 similar comment
@Lornz-
Copy link

Lornz- commented May 9, 2023

+1

@spencerwhyte
Copy link

+1

Right now I have resorted to using the package from my personal scope:

"@spencerwhyte/gatsby-plugin-gdpr-cookies": "^2.0.9"

@ordishc
Copy link

ordishc commented Aug 30, 2023

+1
Agreed - if this could be updated in NPM that would be awesome and really helpful.

@annaferry
Copy link

+1

1 similar comment
@tasesmuemils
Copy link

+1

@Dinkelborg
Copy link

How is this still an issue in November 23?

@jen-prince
Copy link

+1

@grahamkane
Copy link

Install with the legacy peer deps flag, if you want npm to ignore the version mismatch:

npm install --save gatsby-plugin-gdpr-cookies --legacy-peer-deps

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