github-pages

404 when Deploying Angular 6 app to github pages

浪尽此生 提交于 2021-01-23 11:13:06
问题 My application works fine when served locally. I have compiled the build with no errors. Site link is here - https://evilernie44.github.io/users/index.html When I try to load the site via the github page, I get a 404 on my get requests. I have tried adding a 404.html and then copying the contents of index.html to it as suggested by angular docs but I still cannot seem to get it to work. I am at a loss as regards to what to do next, does anyone have any suggestions. 回答1: If the root of an

css not working on github pages

∥☆過路亽.° 提交于 2021-01-21 07:46:47
问题 I can't get my CSS to show on the site. I really can't figure out what I'm doing wrong here, I'm very new to all of this so I'm sure there's something I just can't see. here is the live site https://rusne118.github.io/mile-stone-one/4 here is my repo https://github.com/rusne118/mile-stone-one here is my css in my html here is my files on cloud9 回答1: Remember that GitHub pages are scoped with repo names . You are including your CSS with <link rel="stylesheet" href="/css/style.css"> This

GitHub pages generator removing <video> tag

百般思念 提交于 2020-12-26 07:55:24
问题 Context I usually set up quick GitHub pages to document a few developments I do. They are usually very simple pages, which I generate from the repo settings using the Page Generator. I want to continue using this method, as moving to proper gh-pages with jekyll is too much of an overhead for something so simple. Recently I came across a use case, where adding a simple 2 min video to the first section made a lot of sense. Not knowing any native markdown for HTML video I've decided to add the

gh-pages -d build fails on 'npm run deploy'

∥☆過路亽.° 提交于 2020-12-26 04:25:18
问题 I am trying to deploy my react app to the GitHub pages but I have encountered the following error: The build folder is ready to be deployed. To publish it at https://jatinkumarg.github.io/personal-portfolio, run: npm run deploy > personal-portfolio@0.1.0 deploy C:\react-projects\personal-portfolio > gh-pages -d build Cloning into 'node_modules\gh-pages\.cache\git@github.com!jatinkumarg!personal-portfolio.git'... git@github.com: Permission denied (publickey). fatal: Could not read from remote