ryardley / ts-bus

A lightweight JavaScript/TypeScript event bus to help manage your application architecture.
MIT License
134 stars 8 forks source link

Doesn't work with React 18 #95

Open justintoth opened 1 year ago

justintoth commented 1 year ago

justintoth@MacBook-Pro-5 m365-mobile-app % npm install ts-bus npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: Marriage365@1.9.1 npm ERR! Found: react@18.2.0 npm ERR! node_modules/react npm ERR! react@"18.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.8.6" from ts-bus@2.3.1 npm ERR! node_modules/ts-bus npm ERR! ts-bus@"*" 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 /Users/justintoth/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/justintoth/.npm/_logs/2023-07-16T01_11_18_209Z-debug-0.log