Problem installing ddd
I have created a new project, and I tried to install ddd with their dependencies, but I have the following error:
npm i @node-ts/ddd @node-ts/logger-core @node-ts/bus-core @node-ts/bus-messages inversify --save npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @node-ts/[email protected] npm ERR! node_modules/@node-ts/logger-core npm ERR! @node-ts/logger-core@"" from the root project npm ERR! peer @node-ts/logger-core@"^0.0.17" from @node-ts/[email protected] npm ERR! node_modules/@node-ts/bus-core npm ERR! @node-ts/bus-core@"" from the root project npm ERR! peer @node-ts/bus-core@"^0.6.3" from @node-ts/[email protected] npm ERR! node_modules/@node-ts/ddd npm ERR! @node-ts/ddd@"" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @node-ts/logger-core@"^0.1.0" from @node-ts/[email protected] npm ERR! node_modules/@node-ts/ddd npm ERR! @node-ts/ddd@"" 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 /.npm/eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! /.npm/_logs/2021-06-30T09_06_28_182Z-debug.log
Not sure what's going on here - as soon as I update from node version 16.15.0 -> 16.18.0 you get the above error and I have no idea how to work around it. Strange this hasn't been notices/resolved in over a year.