I can’t start the debugger because it can’t find the npm-cli file

When I try to start the debugger it gives me an error because it can’t find the file npm-cli.js which makes sense because it can’t be found where it tries to look for it Uncaught Error: Cannot find module 'C:Program Filesnodejsnode_modulesnpm binnode_modulesnpmbinnpm-cli.js instead it is actually located at: C:Program Filesnodejsnode_modulesnpmbinnode_modulesbinnpm-cli.js.

The problem is that this only happens to me in the debugger and not when I run it from the command line (npm run works fine).

I already tried to reinstall node to the latest version (16), update node_modules with npm i (and ci). Uninstall and reinstall vscode.

Does anyone know how to configure the path for npm-cli or any other solution?