How to fix HTTP 404 on Github Pages?

Here is my GitHub repository on the gh-pages branch. Everything looks good, I have my index.html, my CSS, JS and pictures folders. But when I access http://roine.github.com/p1 I get HTTP 404 not...

tool to create from plain html file a .po file used for translation

i am using the http://i18next.com/ to translate a static website hosted on github gh-pages. are there any tools that i can use to first extract from say the index.html file and create a index.po...

Link to a line Markdown file on GitHub

I often link to GitHub source code via the #L param in the URI. e.g. : https://github.com/github/learn.github.com/blob/gh-pages/episodes.yaml#L1 But is there a way to link to lines within a...

Authenticate with GitHub using a token

I am trying to authenticate with GitHub using a personal access token. In the help files at GitHub, it states to use the cURL method to authenticate (Creating a personal access token). I have...

Why call git branch --unset-upstream to fixup?

I'm more of a novice when it comes to advanced operations in git. I maintain my blog using the blogging framework Octopress. Though Octopress is not under any development since 2011, it serves my...

Do GitHub pages support PHP?

Thank you for taking the time to review my request for help. I've been using gh-pages to work on a build for a static site and the server has worked amazing for me throughout the build! Although I...

Hosting my MEAN stack web app on github pages

I have a project here that is on github. I created a gh-pages branch to make it hosted on github pages. The link they gave me to my hosted site is here. I am pretty new to web apps and especially...

Deploying react app to github pages

I'm trying to deploy a react.js app to github pages (I'm following this guide https://medium.freecodecamp.com/surge-vs-github-pages-deploying-a-create-react-app-project-c0ecbf317089) but I keep...

Github-pages: download release

I have a GitHub repository. Though I have made a release of the project, the corresponding download link does not appear on the page (I used the gh-pages wizard to create this page). Any...

Angular 4 - webpack: wait until bundle finished: /

I am using Angular-Cli and I have updated all of my package.json using the ncu tool. Now when I do a npm start (webpack-dev-server --port 4200 --config config/webpack.dev.js --open --progress...

Custom styled Google map in react-google-maps

I'm trying to give my google map a different look. I'm taking this code as an instruction on how to do it:...

npm ENOSELF error - installing a package in its gh-pages branch

I'd like to write some documentation for a JS Lib on GitHub, using the Lib itself. I created an empty branch called gh-pages and started building the documentation pages. Now I need to write some...

Blank page for a VueJS app on Github pages

I have deployed a Vue app on the following repository's gh-pages branch. But accessing https://christopherkade.com/STracker gives the following error on Firefox (and similar errors on other...

Could not find module "@angular-devkit/build-angular"

After updating to Angular 6.0.1, I get the following error on ng serve: Could not find module "@angular-devkit/build-angular" from "/home/Projects/myProjectName". Error: Could not find module...

GatsbyJS blog not compiling anymore after "npm update"?

If it's a Gatsby, webpack or npm issue i don't understand yet. I did these commands in terminal and they seem to have started the issue, trying to fix a material-ui "Popper" module that had a...

How do I get my gh-pages branch to update?

I was previously working on my newest GitHub Pages website. My website is a React app. I finally got the website to run about a month ago, but I got stuck on this issue of my website not...

Rails 5 API + React + CORS + Heroku + GH Pages

Morning all Having a headbashing moment again and could use help. I have a React client consuming a Rails 5 API. Everything was working great on localhost, working perfectly. I deployed the client...

Getting blank page after react app publish in github

My steps are: *npm run build* Then "homepage": "https://parthaaaaa.github.io/firstwebapp/", "predeploy": "npm run build", "deploy": "gh-pages -d build" in package.json file Then *npm install...

npm error missing script: build (Set up CI with Azure Pipelines)

I am using Azure DevOps from Microsoft and try to build a pipeline. When I run it than the following error shows up (note that I am using Nodejs): 2019-02-27T14:51:52.8760703Z ##[section]Starting:...

Cannot fix "Unexpected token name «i», expected punc «;»" from UglifyJs

I have created a react app with a custom next server server.js: const { createServer } = require('http'); const next = require('next'); const app = next({ dev: process.env.NODE_ENV !==...

Unexpected string in JSON at position 608 while parsing

I'm trying to host my react website to GitHub, but when I try to use: npm install --save gh-pages I get the following error: Failed to parse json npm ERR! JSON.parse Unexpected string in JSON at...

How can I deploy a react app with a node backend on GitHub Pages?

I just started learning about concurrently npm to React. I want to know how to deploy React project on Github page with concurrently npm. Normally on local machine we would run the app with server...

Instascan select camara to scan qr

My website reads QR CODES using the mobile phone. I have used that library https://github.com/schmich/instascan <div class="select"> <label for="videoSource">Video source: </label><select...

Cannot install Firebase for VueJS + NodeJS

I am using vueJS to build an authentication (login) page with Firebase, each time when I run: npm run serve I have the same error asking me to install Firebase: `Failed to compile with 7 errors ...

GitHub Action workflow not running

I have a GitHub action workflow file @ myrepo/.github/workflows/Build Webpage.yml it contains this: name: Webpage Build on: push: branches: - webpage jobs: build: runs-on:...

problem while deploying react application to github

I created a todolist that is working properly in localhost. Iam trying to deploy it on github, when I run '$ npm run deploy' in command propmt it showing error p Added homepage, predeploy, deploy...

Animated node with ID 2 already exists

package.json { "main": "node_modules/expo/AppEntry.js", "homepage": "<My URL>", "scripts": { "start": "expo start", "android": "expo start --android", "ios": "expo start...

404 Error on refresh with SPA React Router app in GitHub Pages

I built my website with React and React Router and it is hosted on Github Pages. When I refresh the site on a page that is not my home page OR do ctrl+click to open the page in a new tab, it leads...

Why Is My Github Pages Custom Domain Constantly Reset?

I go into the page in Github (https://github.com/user/repo/settings/pages) and set a custom domain. It works great! However, every time I deploy (using the gh-pages npm package) it resets the...

How to make code changes show when using yalc

I learn yalc and do exactly what it say but when I change the library code that I have done yalc publish on, I can't see the code changes in my app. The library is notistack Steps: yalc publish...