DEV Community

Discussion on: How to deploy React App to GitHub Pages

Collapse
 
bhargav_25 profile image
Bhargav Gohil • Edited

hey, Ibrahim I don't know where I am going wrong can you please check where is the issue

github.com/Bhargav252000/fakegram

the error I am getting

Cloning into 'C:\Users\BHARGAV\Desktop\React-Apps\fake-gram\node_modules\.cache\gh-pages\github.com!Bhargav252000!fake-gram.git'...
fatal: invalid branch name: init.defaultBranch =

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fake-gram@0.1.0 deploy: `gh-pages -d build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fake-gram@0.1.0 deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\BHARGAV\AppData\Roaming\npm-cache\_logs\2020-10-09T13_30_51_074Z-debug.log