env: node: No such file or directory in mac

前端 未结 6 608
醉梦人生
醉梦人生 2020-12-07 13:49

I\'m searching it in google on how to show the version of node js or how I\'m gonna work with npm? If I do this

npm -v

even I already inst

6条回答
  •  忘掉有多难
    2020-12-07 14:42

    I was getting this env: node: No such file or directory error when running the job through Jenkins.

    What I did to fix it - added export PATH="$PATH:"/usr/local/bin/ at the beginning of the script that Jenkins job executes.

提交回复
热议问题