RantumBits / klatsby

2 stars 2 forks source link

gatsby-plugin-klaviyo doesn't work with gatsby^3 #7

Open RafaMtz2021 opened 2 years ago

RafaMtz2021 commented 2 years ago

`npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: wana@1.0.0 npm ERR! Found: gatsby@3.14.6 npm ERR! node_modules/gatsby npm ERR! gatsby@"^3.13.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer gatsby@"^2.0.0" from gatsby-plugin-klaviyo@0.1.1 npm ERR! node_modules/gatsby-plugin-klaviyo npm ERR! gatsby-plugin-klaviyo@"0.1.1" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /home/rterranova/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /home/rterranova/.npm/_logs/2022-05-19T18_49_30_266Z-debug-0.log`

imagen

terraincognitas commented 1 year ago

Same issue here. Is there a version update for Gatsby 3??

owenhoskins commented 1 year ago

@nowyearsold @RafaMtz2021 you just need to install with the npm install gatsby-plugin-klaviyo --legacy-peer-deps flag