reddit / emacs

Format-all don't find node

Zealos707 · 2022-06-27 16:29
Hi all, I run "format-all-buffer" and I got an error that tell me to install prettier, even if it is installed. So, I have install exec-path-from-shell pâckage and now I got this error "/usr/bin/env "node" no such file or directory" (and the same problem for command like ls). My node version is 18.4 and installed via nvm, and node work on shell and bash. can anyone help me ?