npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @adiwajshing/baileys@5.0.0
npm ERR! Found: link-preview-js@2.1.19
npm ERR! node_modules/link-preview-js
npm ERR! link-preview-js@"^2.1.13" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional link-preview-js@"^3.0.0" from @adiwajshing/baileys@5.0.0
npm ERR! node_modules/@adiwajshing/baileys
npm ERR! @adiwajshing/baileys@"github:adiwajshing/baileys" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: link-preview-js@3.0.4
npm ERR! node_modules/link-preview-js
npm ERR! peerOptional link-preview-js@"^3.0.0" from @adiwajshing/baileys@5.0.0
npm ERR! node_modules/@adiwajshing/baileys
npm ERR! @adiwajshing/baileys@"github:adiwajshing/baileys" 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!
npm ERR! For a full report see:
npm ERR! /root/.npm/_logs/2023-04-05T15_07_27_979Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-04-05T15_07_27_979Z-debug-0.log
ada g cara fix ini tanpa memakai --force atau --legacy-peer-deps?
saat saya npm i malah muncul :
ada g cara fix ini tanpa memakai --force atau --legacy-peer-deps?