You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'll need to have node (and npm) in your path for your terminal (specifically the one VS Code is using).
This is part of installing node and one way you can do this is cd to the path you installed node and run:
$ echo"export PATH=\$PATH:$(pwd)">>~/.bashrc
(then restart VS Code for it to take effect).
Your path may be stored in /etc/profile or ~/. profile depending on how you have configured your OS.
If you are using nvm for your project you'll still need to have the paths for node for VS Code and the extension defined because the version you use for your project is not the same as the one you use for VS Code/Extension.
Hey,
The issue is similar to the mac related error discussed here: ionic-team/vscode-extension#90
The
/bin/sh: line 1: npm: command not found
error disappears when I'm change "Shell Path" in ionic plugin settings to thisPATH=$PATH:/home/sudosu/.nvm/versions/node/v20.9.0/bin /bin/zsh
In this case I get a failed state without reason.
Environment:
What can I do to fix this issue?
Thanks in advance!
The text was updated successfully, but these errors were encountered: