Questions tagged [github-pages]
GitHub pages are static web pages hosted on GitHub.
4,888
questions
0
votes
0
answers
15
views
Deploying external html file within GitHub pages
I am trying to deploy a GitHub pages instance with a Jupyterbook inside that. That runs smoothly without any problem. But I also need to deploy a Python kernel and I can manage that with using Thebe.
...
0
votes
0
answers
18
views
Can't deploy Nuxt 3 app either to GitHub Pages or Netlify
So I coded a simple landing page app to learn Nuxt 3 and I've been trying to deploy it to either GitHub Pages or Netlify without success.
It's a very simple app, basically three different pages, very ...
0
votes
0
answers
9
views
Parcel set page base url
Im trying to make my react project work with gh pages, the images are not found for some reason, but on localhost it works, <img alt="Vector" src="/img/vector-4.svg" />
I've ...
0
votes
0
answers
12
views
React gh-page return 404 errors for certain content (repo in details) [duplicate]
Problem
Forked a react page repository and tried to upload it to github page. After modifying the homepage in package.json , the site kind of shows up, but only some components of it. current state
...
0
votes
0
answers
18
views
What might be going wrong with my Vite - Reactjs website not coming up on Github Pages?
I started a project this morning and I'm expected to share the live link with the tester. The code was successfully built and deployed on GitHub actions, but unfortunately, it is not showing anything....
-1
votes
0
answers
14
views
So i going through a web development course and i am stuck at the hosting the site on github
So the problems occurring is this firstly the site isn't loading properly as the picture's are not showing . Secondly none of the links go to the html page and are giving the error 404. What to do ...
-2
votes
0
answers
21
views
Creating a personal github page [closed]
I am very new to github. I want to create my personal github page.
Can anyone please suggest me some good resources to start.
Also, if any course is available, please let me know as I am complete ...
0
votes
0
answers
25
views
DNS Issue github pages
When i enter the url https://www.troosbouw.com and press enter, browser says connection insecure.
However when i enter https://troosbouw.com or troosbouw.com and press enter, apparently the connection ...
-3
votes
0
answers
29
views
Github not pushing changes to my github.io site [closed]
I've recently created a simple website that can detect various information about Minecraft Servers. The issue I'm facing is that while I successfully built it in my local VSCode environment, when I ...
-1
votes
0
answers
21
views
Image not showing in live server after deploying to Github Pages
I have an error in showing the images. In particular, At first, when I run the live server, the image is showing perfectly. But after deploying to the Github Pages, the image is not showing anymore.
...
-1
votes
1
answer
50
views
Blank Github page on personal portfolio website
dev newbie here.
So I've recently created my personal portfolio, github repository -> https://github.com/LuisssM/Portfolio
and, when lauching the https://luisssm.github.io/Portfolio/ website, it ...
0
votes
1
answer
21
views
Why are the images not showing up on the React website deployed using GitHub Pages?
I created a website using React and Vite. It works as expected on my local machine. But, after it was deployed on GitHub Pages, the images didn't load up. Everything else was working fine. The images ...
0
votes
0
answers
12
views
My Deployed React app in github show blank page, if i cannot use any router or if i can deploy fresh build after create
I'm facing the problem in few day. i have already checked the stackoverflow post and other resources but these info cannot solve my issue.
this is the packgejson code
"name": "...
0
votes
1
answer
40
views
Next.js Github pages loading images problem
I've been trying to load photos and favicon on GitHub pages for a month now and no result at all. Even tried with a boilerplate project from npx create-next-app@latest and it doesn't load the images ...
0
votes
0
answers
6
views
Why can I only deploy Github Pages live sites on certain repositories even though all of them have the same settings?
So I went through the official github docs -> Creating (https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site) & Publishing (https://docs.github.com/en/...
0
votes
1
answer
18
views
How do I resolve dart pub publish vs github pages doc directories conflict?
To publish to GitHub pages, documentation must be in either the repository's root directory (/) or in docs. The standard directory location for dart documentation is doc/api. If I try to publish a ...
0
votes
0
answers
7
views
Unable to Access Hidden File on GitHub Pages
I'm having trouble accessing a hidden file on my GitHub Pages site. I have a file named `cf-2fa-verify.txt` in a hidden directory (`.well-known`) in my repository. I've pushed this file to my ...
0
votes
0
answers
19
views
Vite React app HashRouter not work on github pages
I built an app with vite react router. I pushed it to github pages and got some error. I read about github pages doesn't support browserrouter, so I changed it to hashrouter, but still not working. ...
0
votes
1
answer
24
views
React Site Showing on Netlify but Not on GitHub Pages
I uploaded my React site to GitHub under the repo jschlte.github.io it displays a blank page with the error of "Failed to load module script: Expected a JavaScript module script but the server ...
0
votes
0
answers
14
views
How do I add tabs in Github pages?
I'm trying to add in our docs that is running on Github pages code examples in tabs like this:
I found a plugin that seems like it can do the job jekyll-tabs, but I can't install it and looking at ...
0
votes
0
answers
15
views
Vite build fails in Git Actions Pipe: Could not resolve "../Component.tsx" from "../OtherComponent.tsx"
So I want to build my React/Vite Project with Github Actions.
So I run bun run build, which triggers vite build (full workflow):
bun run build -- --mode production
Now I get the error that:
Could ...
0
votes
1
answer
13
views
gh-pages react app css appears incorrect when deployed
I'm a new developer and looking for guidance.
I'd like to use a hamburger menu for nav on smaller screens and am using the following css to hide the horizontal nav bar links when the hamburger menu is ...
0
votes
1
answer
31
views
Missing Mapbox GL styles in Github pages react app
I have created a GitHub pages app which hosts a React app. Within this app, I have 2 instances of Mapbox maps using react-map-gl, and some styles are missing when deployed on GitHub pages.
Locally, ...
0
votes
0
answers
31
views
JavaScript resources fail to load when I upload my React app (Vite) on GitHub pages
I recently deployed a Vite React app on GitHub pages but most of the JS scripts and images (from adminlte template) that are included fail to load. I am thinking that the problem is caused by the ...
0
votes
0
answers
42
views
problem for deployment with astro on github pages
I can’t deploy my github portfolio using astro, but I configured all the files.
So I share my code:
astro.config.mjs
import { defineConfig } from 'astro/config';
export default defineConfig({
...
-1
votes
0
answers
12
views
404 Error on pwa github pages website when installed
I'm creating a pwa website and I have hosted them on Github Pages, There is no problem with the installation steps but once I install the website and open them there occurs an 404 error from github ...
0
votes
1
answer
34
views
Is there a way to add comment(multiple-line) to GitHub PR using CURL command
I am trying put comment to GitHub PR using curl command but as my comment has multiple lines, it is failing to do so and throwing error:
"message": "Problems parsing JSON",
Here ...
0
votes
1
answer
20
views
How do I use Linux, Mac's "touch" command in Windows?
How do I use Linux, Mac's "touch" command in Windows?
my code :
"deploy": "next build && next export && touch out/.nojekyll && git add -f out/ &&...
0
votes
0
answers
18
views
Deploy a React Project on GitHub Pages
I am pretty new to this...
i have watched the following tutorial to deploy a react project on GitHub Pages:
https://www.youtube.com/watch?v=Q9n2mLqXFpU
and as I would say, I worked through all the ...
-1
votes
1
answer
32
views
Trouble Deploying Next.js Website on Vercel: Error Encountered [closed]
I've built a website from scratch and followed all the necessary steps to configure it for pages and deployment on Vercel. However, I'm encountering an error, and I'm seeking assistance in resolving ...
0
votes
0
answers
15
views
How can I correctly configure GitHub Pages for individual web-related repositories?
I've got a few GitHub repositories with some basic web pages in them, and I want to get GitHub Pages up and running for each of them so I can show off my work online. However, I'm a bit lost on how to ...
0
votes
1
answer
15
views
Github Pages requesting wrong url when deploying react app
After publishing my react app, I noticed the page was blank, after going to the network tab on inspect, I realized Github pages was requesting:
/assets/index-1acd6362.js
instead of:
/project-name/...
0
votes
0
answers
15
views
have some questions about github pages
unrelated, but let me ask, after I uploaded the code to the github page, when running the web, the css and javascript were lost, can someone help me??
1 / I tried checking but the path is still ...
0
votes
1
answer
23
views
Conversion error: Jekyll::Converters::PostCss encountered an error while converting 'assets/css/main.css'
I'm following these tutorials to host a jekyll site on github pages
Jekyll & Tailwind Boilerplate
https://github.com/mzrnsh/jekyllwind
Deploy to github pages
https://jekyll.ohsostatic.com/devops/...
0
votes
0
answers
14
views
Gatsby Build Not Importing Components Or Static Assets but Develop working?
I am trying to launch my gatsby website off of Github Pages
My build looks great in gatsby develop
but something during the gatsby build something happens and only a few of my imports actuall return.
...
0
votes
0
answers
7
views
Changing directory name to "gsoc" gives 404 error on website hosting
The problem
Website https://tardis-sn.github.io/ has a section in navigation bar named GSoC. The relevent markdown files, if kept inside a folder named 'gsoc' the website gives 404 error while trying ...
0
votes
0
answers
35
views
I have a [slug] "dynamic page" which works perfectly fine in LOCALHOST but shows a 404 in VERCEL and GITHUB
I have developed a website with homepage. homepage/blog and homepage/blog/[slug].
Everthing works fine in LOCALHOST.
(https://i.stack.imgur.com/8i1RP.jpg)
(https://i.stack.imgur.com/GGhMI.jpg)
But in ...
0
votes
1
answer
97
views
Problem Rending Mathjax in github.io page generated from Sphinx
I'm writing docs for my python project using Sphinx.
This is my conf.py
The math renders just fine on local host but when deployed on github.io, it seems to be not working.
On Local Host
On github.io
...
-3
votes
1
answer
27
views
Why is my github.io react-gh-pages showing a 404? [closed]
Im using react to publish to gh pages, and its giving me a 404 despite my other one ryan-howard-hc.github.io/ReactMenu working from the same tutorial video?
https://github.com/ryan-howard-hc/ryan-...
-1
votes
0
answers
21
views
I get a permission denied message when running 'bundle update' when setting up a blog for github pages
I'm setting up a blog to host on githubpages.
When I try to complete the Gemfile configuration I encounter the following error: when executing the 'bundle update' command I receive the following error ...
0
votes
0
answers
24
views
Github pages custom domain is showing "improperly configured"
I bought domain.name from namecheap and configured a custom domain in github pages using the instructions here
Issue 1:
Github pages settings is showing that "DNS valid for primary" and &...
0
votes
0
answers
19
views
Jekyll routing and Collection
I started building my blog with Jekyll, i have the following structure:
About.md
index.md
_posts
article1.md
article2.md
other files...
how should I set my _config.yml file so I show the articles ...
0
votes
1
answer
41
views
How to enable git submodules on GitHub pages
I have an Astro site that uses a git submodule for one of the content collections (just a bunch of markdown). When the site is building on GitHub, Astro errors telling me that the content collection ...
0
votes
1
answer
28
views
Github Page url not being github.io/repo/about but github.io/about instead
Recently I tried deploying my portfolio web made from React to github pages with the url user.github.io/portfolio-web but when it got deploy, my pages (/contact or /about) got defaulted into usesr....
0
votes
1
answer
25
views
remove baseUrl from Docusaurus site deployed on Github Pages
Hello I have a Docusaurus site in github deployed in Github Pages.
"@docusaurus/core": "2.4.1",
"@docusaurus/plugin-content-docs": "^2.4.1",
"@docusaurus/...
0
votes
0
answers
9
views
GitHub Page Using Outdated Source Code/Cannot View Branches
I have a GitHub page and face two problems.
Whenever I update a file and check it on GitHub pages, the page reflects my old code, even after I commit. Why is this happening, how can I make sure the ...
0
votes
0
answers
20
views
GiHub Pages only showing README file
I'm trying to deploy my GitHub repo using GitHub pages to my domain but only see the README file rendering. this is a link to the repo, and I'm deploying it on andykim.info. I set the source as the ...
0
votes
0
answers
16
views
Mapbox Map not displaying properly when deployed using Github Pages or Render, but works fine locally
I am trying to deploy a simple React app that has a map from Mapbox using Github Pages, but the map is not displaying properly. The coordinates and the zoom level on the sidebar seem to update as if ...
0
votes
1
answer
47
views
Why is my GitHub pages website displaying a blank page when deployed?
I am hosting a React app on github pages. Currently, the page is blank and no data is displaying and I am getting these errors in the console. If I run the project locally, there are no issues, it is ...
0
votes
0
answers
24
views
Deploying React/Vite project from GitHub pages and assigning custom domain but it shows error: net::ERR_ABORTED 404
Deploying React/Vite project from GitHub pages and assigning custom domain, it lead to blank page and it shows error in console:
GET https://{justplaceholderformyurl}/Portfolio/assets/index-f7682910....