windows ionic bash: command not found

來源:互聯網
上載者:User

標籤:guid   更新   tar   gui   and   not   get   npm   command   

安裝好了node.js和npm後,執行npm install -g cordova ionic後,成功安裝,但是執行ionic命令後,返回 command not found.

配置好了環境變數後,仍然不行,並且按照網上的教程執行了nodejs安裝目錄下的Cygwin.bat檔案,但是仍然顯示command not found.

 

後來重新安裝了一遍node.js,換了安裝目錄就好了

 

node.js需要安裝在使用者家目錄下,也就是C:\Users\{username}   

重新更換安裝目錄,並且更新到環境變數後就可以正常使用了

 

參考資料:https://yanxiaodi.gitbooks.io/ionic2-guide/content/installation/%E5%AE%89%E8%A3%85Node.html

windows ionic bash: command not found

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.