2017-10-05 48 views
0

我在我的出版角2 APP在github頁獲得404發佈應用程序的角度,即使角度-CLI-gpages說「這是成功發佈」無法在github頁

可能是什麼問題?

enter image description here

UPDATE:相當長的一段時間後,我覺得現在的應用程序發佈。但是,有幾個404控制檯錯誤。所以只有index.html的似乎已經公佈:

GET https://wickedrahul.github.io/polyfills.bundle.js net::ERR_ABORTED 
19:42:02.408 wickedrahul.github.io/:17 GET https://wickedrahul.github.io/inline.bundle.js net::ERR_ABORTED 
19:42:02.408 wickedrahul.github.io/:17 GET https://wickedrahul.github.io/styles.bundle.js net::ERR_ABORTED 
19:42:02.412 wickedrahul.github.io/:17 GET https://wickedrahul.github.io/vendor.bundle.js net::ERR_ABORTED 
19:42:02.415 wickedrahul.github.io/:17 GET https://wickedrahul.github.io/main.bundle.js net::ERR_ABORTED 
19:42:03.443 wickedrahul.github.io/:17 GET https://wickedrahul.github.io/polyfills.bundle.js net::ERR_ABORTED 
19:42:03.515 wickedrahul.github.io/:17 GET https://wickedrahul.github.io/styles.bundle.js net::ERR_ABORTED 
19:42:03.590 wickedrahul.github.io/:17 GET https://wickedrahul.github.io/vendor.bundle.js net::ERR_ABORTED 
19:42:03.673 wickedrahul.github.io/:17 GET https://wickedrahul.github.io/main.bundle.js 404() 

回答

0

#Feature Request : ng build to include a --base-href

你會檢查這個問題,它說在過去的特徵要求year.Despite一年前,它不implented。

到目前爲止,angular-cli-ghpages模塊被創建。您需要安裝然後做!

npm install -g angular-cli-ghpages 
npm run deploy //- it would support your --base-href command