nfl / react-gpt

A React display ad component using Google Publisher Tag
MIT License
145 stars 84 forks source link

React GPT plugin not working with React 17.0.1 Version #155

Open gauravnamaste opened 3 years ago

gauravnamaste commented 3 years ago

React GPT plugin not working with React 17.0.1 Version

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: mobile-frontend@0.1.0 npm ERR! Found: react@17.0.1 npm ERR! node_modules/react npm ERR! react@"17.0.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^15.0.1 || ^16.0.0" from react-gpt@2.0.1 npm ERR! node_modules/react-gpt npm ERR! react-gpt@"2.0.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 /Users/gauravtayal/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/gauravtayal/.npm/_logs/2021-05-11T09_07_12_555Z-debug.log