安裝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/
相關文章
- #!/usr/bin/env pythonPython
- mac下/usr/local/bin No such file or directory問題解決Mac
- /usr/bin/python與/usr/bin/env python的區別Python
- #!/usr/bin/env python與#!/usr/bin/python的區別Python
- linux輸入yum後提示: -bash: /usr/bin/yum: No such file or directory的解決方案Linux
- npm 安裝 bin/npm: line 1: ../lib/node_modules/npm/bin/npm-cli.js: No such file or directoryNPMJS
- python中#!/usr/bin/python與#!/usr/bin/env python的區別Python
- CentOS安裝軟體出現錯誤:bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directoryCentOSLinux
- 配置webstorm使用supervisor時出現 /usr/bin/env: node: 沒有那個檔案或目錄 解決方法WebORM
- linux中/bin和/sbin和/usr/bin和/usr/sbinLinux
- 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.
- 【shell 】 test, /usr/bin/test, [ ], 和/usr/bin/[都是等價命令
- (轉)執行指令碼出現bin/bash: bad interpreter: No such file or directory指令碼
- 安裝pods提示Operation not permitted usr bin xcodeprojMITXCode
- bundler安裝失敗,Operation not permitted - /usr/bin/***MIT
- /usr/bin/xauth: error in locking authority file錯誤Error
- /usr/bin和/usr/sbin有什麼區別
- 解決:NPM ERR! @ dev: `node node_modules/cross-env/bin/cross-env.js 的辦法NPMdevROSJS
- compass專案監控檔案報 /usr/bin/env 找不到檔案
- gcc: /usr/lib64/libstdc++.so.5: No such file or directoryGCC++
- Linux下/bin, /sbin, /usr/bin, /usr/sbin 等的區別Linux
- 解決“/bin/bash^M: bad interpreter: No such file or directory”
- NODE_ENV和webpackWeb
- 啟動 Laravel-Sail 服務時遇到的 /usr/bin/env: 'bash\r' 錯誤LaravelAI
- 安裝selenium包以後出錯
- /bin、/sbin、/usr/bin、/usr/sbin、/usr/local/sbin放置可執行檔案的區別
- node.js安裝後出現環境變數錯誤找不到nodeNode.js變數
- -bash: ./switch.sh: /bin/bash^M: bad interpreter: No such file or directory
- 虛擬環境bin/python: bad interpreter: No such file or directoryPython
- /usr/bin/ld: cannot find -lopenblas
- Linux中編譯或安裝程式時提示No such file or directoryLinux編譯
- MogDB 安裝解壓錯誤:cannot run bzip2: No such file or directory
- python升級帶來的yum異常:File "/usr/bin/yum", line 30Python
- -bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: b...Framework
- 安裝 Node 和 gulp
- 雲主機如何安裝grunt
- 使用wireshark出現Couldn't run /usr/bin/dumpcap in child process: Permission denied解決辦法PCA