2017-10-05 1 views
0

que je reçois 404 sur la publication de mon angulaire 2 APP sur les pages GitHub même si-cli-angulaire gpages dit « Il est publié avec succès »Impossible de trouver l'application angulaire publiée sur les pages GitHub

Quel pourrait être le problème?

enter image description here

MISE À JOUR: Après pas mal de temps, je pense que l'application est maintenant publié. Cependant, il existe plusieurs erreurs de console 404. SO seulement index.html semble avoir publié:

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() 

Répondre

0

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

Vous vérifieriez cette question qui a trait demande passé year.Despite il y a un an, il n'implenté.

Jusqu'à présent, le module angular-cli-ghpages est créé. Vous devez installer puis le faire!

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