`react-router-dom` load fails in Yarn berry.
skt-t1-byungi opened this issue · comments
error logs
RROR in ../../.yarn/__virtual__/react-router-prompt-virtual-bfafd500e5/0/cache/react-router-prompt-npm-0.3.0-14a024efe7-66dd019f29.zip/node_modules/react-router-prompt/dist/react-router-prompt.cjs.development.js 9:21-48
Module not found: Error: Can't resolve 'react-router-dom' in '/.yarn/__virtual__/react-router-prompt-virtual-bfafd500e5/0/cache/react-router-prompt-npm-0.3.0-14a024efe7-66dd019f29.zip/node_modules/react-router-prompt/dist'
The solution is to add react-router-dom
to peer dependency.
@skt-t1-byungi are you planning to create PR for this?