unable to install gatsby-plugin-transition-link with npm

Viewed 149

enter image description here

Error report

I am unable to resolve this issue. I have spent hours looking for a solution. I can't find one. Please help. I know it's similar to the question here. But there is no method to solve there. Please help.

1 Answers

The issue is quite self-explanatory. You are running React on a version greater than 17.0.1 (^17.0.1), specifically the 17.0.2 and the dependency (gatsby-plugin-transition-link) needs the 16.8.5.

If downgrading React's version is not an option, you may need to review the migration guide (from v2 to v3) to install peer-dependencies, as some GitHub threads suggests.

Check your outdated dependencies with:

npm outdated

In addition, update your npm version to the lastest one by:

npm install -g npm
Related