/usr/bin/env: node: No such file or directory


/*************************************************************************
 *          /usr/bin/env: node: No such file or directory
 * 說明:
 *     今天Charlie說cordova這個東西,然后嘗試去安裝了一下,結果遇到這個
 * 錯誤,記錄一下解決辦法。
 *
 *                                      2017-1-18 深圳 南山平山村 曾劍鋒
 ************************************************************************/

一、參考文檔:
    1. cordova
        https://cordova.apache.org/
    2. run npm command gives error "/usr/bin/env: node: No such file or directory" #3911
        https://github.com/nodejs/node-v0.x-archive/issues/3911

二、解決辦法:
     sudo apt-get install nodejs-legacy

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM