前端 專案版本過低

2021-08-31 13:44:24 字數 933 閱讀 6607

啟動教務前端專案時出現如下錯誤:

version of @angular/compiler-cli needs to be 2.3.1 or greater. current version is "5.2.11".

error: version of @angular/compiler-cli needs to be 2.3.1 or greater. current version is "5.2.11".

意思是我現在的angular版本過高,無法滿足專案低版本的需求,所以啟動專案出現如下錯誤,

解決方案: 在終端寫命令  cnpm install @angular/[email protected]

可惜還是滅有解決我的問題,而且我的前端環境不滿足教務規定的版本要求,於是解除安裝並重新安裝nodo.js.安裝教程:

安裝cnpm,在cmd命令視窗中直接輸入:npm install cnpm --registry= -g

安裝完畢之後,可輸入如下命令檢驗是否安裝成功:cnpm –v

用npm安裝typescript和typings,在命令提示符中直接輸入:cnpm install typescript typings –g

執行完畢之後,檢視版本確定是否安裝成功,在命令提示符中直接輸入:tsc –v

用cnpm安裝@angular/cli,直接在命令提示符中輸入:cnpm install @angular/[email protected] –g      (根據需要安裝)

在cmd中輸入「ng version」,出現如下效果,即證明@angular/cli安裝成功。

然後在angular的終端裡輸入:cnpm install 或者  npm install 就行了.

驅動包版本過低

本人在oracle12c連線myeclips8.6時出現如下問題 關鍵是畫線部分 原因 可能是驅動包的版本過低了,oracle12c d oracle12c product 12.1.0 dbhome 1 jdbc lib 每個人根據自己oracle安裝路徑尋找 裡面有許多驅動包,使用ojdbc7....

關於python dateutil版本過低問題

使用pandas包來匯入資料,提示dateutil依賴過低,需要進行更新,網上有兩種方法。1.大家都用的方法 非root使用者 sudo pip uninstall python dateutil sudo apt get install python dateutil root使用者 pip un...

解決python openssl版本過低的坎坷路程

valueerror could not unserialize key data問題連線 為了解決這個問題我從端午節google到今天,一直都沒有完整的解決問題。都是wget openssl的壓縮包然後解壓,然後編譯。雖然最後在命令列下面輸入openssl version 能得到正確的安裝版本號但...