vscode-debug-visualizer icon indicating copy to clipboard operation
vscode-debug-visualizer copied to clipboard

Dependency clash

Open hnrklssn opened this issue 2 years ago • 1 comments

I'm having trouble getting the extension to work, with similar issues as others have reported for LLDB. When trying it with the Remote-SSH extension to rule out aarch64 related issues with the debugger I'm even having trouble with the JS demo (no visualisers appearing in the selector), so I decided to try to step through the extension itself to see what's happening. When running npm install I get this error however:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @hediet/[email protected]
npm ERR! node_modules/@hediet/visualization-core
npm ERR!   @hediet/visualization-core@"^0.2.0" from [email protected]
npm ERR!   webview
npm ERR!     [email protected]
npm ERR!     node_modules/debug-visualizer-webview
npm ERR!       workspace webview from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @hediet/visualization-core@"^0.1.1" from @hediet/[email protected]
npm ERR! node_modules/@hediet/visualization-bundle
npm ERR!   @hediet/visualization-bundle@"^0.2.4" from [email protected]
npm ERR!   webview
npm ERR!     [email protected]
npm ERR!     node_modules/debug-visualizer-webview
npm ERR!       workspace webview 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.

hnrklssn avatar May 11 '22 09:05 hnrklssn

You need to use yarn!

See here for how to set it up: https://github.com/hediet/vscode-debug-visualizer/blob/master/CONTRIBUTING.md

hediet avatar May 16 '22 14:05 hediet