I’m currently using the Ionic framework and have encountered an issue with one of my Visual Studio Code extensions. The extension has its own console for running code, but it doesn’t seem to be working properly with my nvm installation.
When I try to run the extension’s functionalities,. I receive an error message that says ‘zsh:1: command not found: npm’ for both npm and npx. I believe this may be due to a connection issue with nvm. It appears that the extension is using a different version of Node.js than the one I have installed via nvm. I’ve tried configuring the extension to use the correct version of Node.js, but it doesn’t seem to have an option for this.
Do you have any suggestions on how I can resolve this issue? Is there a way to configure the extension to use the correct version of Node.js, or is there another workaround I can try?