Tabcorp / restify-cors-middleware

CORS middleware with full W3C spec support
108 stars 64 forks source link

Dependency error with restify 8.5.1 #80

Open ItsYourBoyNoah opened 3 years ago

ItsYourBoyNoah commented 3 years ago

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: durchie-v13@1.0.0
npm ERR! Found: restify@8.5.1
npm ERR! node_modules/restify
npm ERR!   restify@"^8.5.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer restify@"2.6.x - 7.x.x" from restify-cors-middleware@1.1.1
npm ERR! node_modules/restify-cors-middleware
npm ERR!   restify-cors-middleware@"*" 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 C:\Users\User\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\User\AppData\Local\npm-cache\_logs\2021-08-08T21_07_28_182Z-debug.log```

What can I do?
nikeee commented 3 years ago

Try installing it with --legacy-peer-deps