简体   繁体   中英

Can't resolve github Dependabot alert

I got this security notification:

Remediation
Upgrade node-fetch to version 2.6.1 or later. For example:

node-fetch@^2.6.1:
  version "2.6.1"

But this error has occurred. : Dependabot cannot create a pull request as one or more other dependencies require a version that is incompatible with this update.

Also, I did yarn upgrade But Nothing has changed.

What is this ?? How Can I solve this problem?

I have seen this issue multiple times myself, and it is well discussed in here and here .

If you are using npm , you can try with npm audit fix . If you using yarn , give yarn upgrade --latest a shot.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM