Skip to content

When using projectile with the npm config I get npm command not found #1906

@suityou01

Description

@suityou01

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

Projectile 20240901.1554

Emacs version

29.4

Operating system

Arch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions