Open artem-metliakov opened 1 year ago
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
Thank you! It worked. But it's good to have a regular release on NPM
@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
@andrezimpel Could you release a new version on npm that supports gatsby 5? These fixes are already on master.
@andrezimpel any updates on this?
Experiencing this too. @andrezimpel - can you please kick off a new release?
+1
+1 if this could be updated in NPM that would be awesome
+1
+1
+1
Right now I have resorted to using the package from my personal scope:
"@spencerwhyte/gatsby-plugin-gdpr-cookies": "^2.0.9"
+1 Agreed - if this could be updated in NPM that would be awesome and really helpful.
+1
+1
How is this still an issue in November 23?
+1
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
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: gatsby@5.5.0
Could not resolve dependency: peer gatsby@"^2.24.77 || ^3.0.0 || ^4.0.0" from gatsby-plugin-gdpr-cookies@2.0.9
Describe the solution you'd like The plugin is compatible with Gatsby 5