2017年5月25日 星期四
node.js 用 npm 指令 更新支援 Angular 4
先進去工作目錄,例如:c:\htdoc\sas
把 angular 4 檔案放進來,在 c:\htdoc\sas 下面執行指令:
c:\htdoc\sas>npm install
On Linux/Mac:
c:\htdoc\sas>
npm install @angular/{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router,animations}@latest typescript@latest --save
On Windows:
c:\htdoc\sas>
npm install @angular/common@latest @angular/compiler@latest @angular/compiler-cli@latest @angular/core@latest @angular/forms@latest @angular/http@latest @angular/platform-browser@latest @angular/platform-browser-dynamic@latest @angular/platform-server@latest @angular/router@latest @angular/animations@latest typescript@latest --save
會出現 typescript 無法更新到 2.3.3 ,改用下列指令就可以。
Installing typescript
For the latest stable version:(最後穩定的版本)
c:\htdoc\sas>npm install -g tslint typescript
訂閱:
張貼留言 (Atom)
cas server 一直圈圈或取得狀態異常
重點: cas server 不能開 VPN,會造成取的來源 dns 異常,會一直轉圈圈或等很久。
-
LDAP Server 架好了,但要用指令新增、刪除、修改,快瘋了!>_< 後來發現居然有 GUI 介面的管理程式,以下簡列,未來會補上操作介面! 一、JXplorer – A Java Ldap Browser http://sourceforge.ne...
-
開啟(建立)檔案 fopen () :打開文件檔案或是 url 網址,如果打開失敗,函數返回 false 語法: fopen ( filename , mode , include_path , context ) 參數說明: file...
-
我在 SQL Server 2016 新增一個使用者,但我不想登入時變更密碼,並且關閉下面2個強制原則: □ 強制執行密碼原則 □ 強制執行密碼逾期 關閉時會出現下面錯誤訊息: 當MUST_CHANGE為ON時,CHECK_POLICY和CHECK_EXPIRA...
沒有留言:
張貼留言
注意:只有此網誌的成員可以留言。