Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在github页面上找不到已发布的angular应用程序_Angular_Github_Github Pages - Fatal编程技术网

在github页面上找不到已发布的angular应用程序

在github页面上找不到已发布的angular应用程序,angular,github,github-pages,Angular,Github,Github Pages,在github页面上发布angular 2应用程序时,我得到了404,尽管angular cli gpages说“它已成功发布” 可能是什么问题 更新:经过一段时间之后,我认为这个应用程序现在已经发布了。但是,有几个404控制台错误。因此,似乎只有index.html发布了: GET https://wickedrahul.github.io/polyfills.bundle.js net::ERR_ABORTED 19:42:02.408 wickedrahul.github.io/:17

在github页面上发布angular 2应用程序时,我得到了404,尽管angular cli gpages说“它已成功发布”

可能是什么问题

更新:经过一段时间之后,我认为这个应用程序现在已经发布了。但是,有几个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 ()

您可以查看这个问题,它在过去一年中提到了功能请求。尽管一年前,它还没有实现

到目前为止,已经创建了
pages
模块。您需要安装该模块,然后再进行操作

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