安裝nodejs和grunt以後出現 /usr/bin/env: node: No such file or directory
現象如下:
jiankunking@ubuntu:~$ cd software/plugins/elasticsearch-head/
jiankunking@ubuntu:~/software/plugins/elasticsearch-head$ grunt server
/usr/bin/env: ‘node’: No such file or directory
解決辦法:
執行如下命令:
sudo ln -s /usr/bin/nodejs /usr/bin/node
本文作者:jiankunking,出處:http://blog.csdn.net/jiankunking/
相關文章
- 【jenkins】/usr/bin/env: php: No such file or directoryJenkinsPHP
- mac下/usr/local/bin No such file or directory問題解決Mac
- /usr/bin/python與/usr/bin/env python的區別Python
- linux輸入yum後提示: -bash: /usr/bin/yum: No such file or directory的解決方案Linux
- python中#!/usr/bin/python與#!/usr/bin/env python的區別Python
- MAC 10.15 安裝PHP擴充套件時出現grep: /usr/include/php/main/php.h: No such file or directoryMacPHP套件AI
- You don't have write permissions for the /usr/bin directory.
- 解決“/bin/bash^M: bad interpreter: No such file or directory”
- 虛擬環境bin/python: bad interpreter: No such file or directoryPython
- -bash: ./switch.sh: /bin/bash^M: bad interpreter: No such file or directory
- 安裝selenium包以後出錯
- [GAUSS-51808] : The env file contains errmsg: {'Node[192.168.56.181]': 'Output:AI
- Linux中編譯或安裝程式時提示No such file or directoryLinux編譯
- 啟動 Laravel-Sail 服務時遇到的 /usr/bin/env: 'bash\r' 錯誤LaravelAI
- /bin、/sbin、/usr/bin、/usr/sbin、/usr/local/sbin放置可執行檔案的區別
- 錯誤:-bash: ./how_paras.sh: /bin/bash^M: bad interpreter: No such file or directory
- python升級帶來的yum異常:File "/usr/bin/yum", line 30Python
- shell指令碼編碼格式問題,bin/sh^M: bad interpreter: No such file or directory指令碼
- /usr/bin/ld: cannot find -lopenblas
- MogDB 安裝解壓錯誤:cannot run bzip2: No such file or directory
- Anaiable執行出現[WARNING]: Platform linux on hostis using the discovered Python interpreter at /usr/bin/pythonAIPlatformLinuxPython
- 雲主機如何安裝grunt
- -bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: b...Framework
- /usr/bin/expect的簡單使用
- Nginx安裝啟動過程報錯libpcre.so.1 cannot open shared object file: No such file or directoryNginxObject
- 香港雲主機如何安裝GRUNT
- node中安裝yarn(nodejs Yarn替代npm包管理)YarnNodeJSNPM
- Centos上安裝配置NodeJs,並把全部檔案放入/usr/My-Application/nodejs資料夾中CentOSNodeJSAPP
- Laravel5.6安裝:Warning: require(../vendor/autoload.php): failed to open stream: No such file or directoryLaravelUIPHPAI
- Php cli模式下執行報錯/usr/bin/php: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/bin/php)PHP模式XMLORMAIUI
- 六、nodejs安裝和基本操作NodeJS
- nodejs和npm安裝與配置NodeJSNPM
- nodejs下載、安裝和配置NodeJS
- Warning:The /usr/local/mysql/data directory is not owned by the 'mysql' or '_mysql'MySql
- nvm 安裝和管理node
- Ubuntu解除安裝及安裝node和npmUbuntuNPM
- Nodejs 和 Electron ubuntu下快速安裝NodeJSUbuntu
- Sub-process /usr/bin/dpkg returned an error codeError
- docker容器掛載 No such file or directoryDocker