/ Node.js

【 Solutions 】解決 /usr/bin/env: 'node': No such file or directory 問題

問題

執行 node 時出現下方訊息

"/usr/bin/env: ‘node’: No such file or directory"

解決方案

  • 請在終端機輸入下方指令
    sudo ln -s `which node` /usr/bin/node
    

GitHub
List of blogs
Archer

Archer

Having being a software engineer. Experience with Python, JavaScript, Node.js, Objective-C, Micro:bit, Raspberry Pi, AWS, Azure, IoT. ❆ [email protected] https://oranwind.org/author/archer/

Read More