/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