-
-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using projectile with the npm config I get npm command not found #1906
Comments
Likely you're Emacs's |
That didn't fix it sadly. I noticed that if I run an eshell I get the problem, but with shell I don't. Does this help narrow it down? What mode does the compilation window use? |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed soon if no further activity occurs. Thank you for your contribution and understanding! |
@suityou01 The problem is not related to the mode, but rather to the ability of Emacs to see something on its own version of the |
Expected behavior
npm commands execute correctly
Actual behavior
npm start zsh:1: command not found: npm
Steps to reproduce the problem
Configure your default shell to zsh
Install projectile
Add config for npm from the projectile documentation
Open an npm project inside emacs using C-p p
Try and run the project using C-p u
Environment & Version information
Arch
Node v20.17.0
Nvm 0.40.1
zsh 5.9
Projectile version information
Emacs version
29.4
Operating system
Arch
The text was updated successfully, but these errors were encountered: