-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Invalid URL: http:git@github.com error after upgrading to 3.2.1 from 3.2.0 #394
Comments
We ran into this issue as well, and also resolved by pinning to 3.2.0. |
See tschaub/gh-pages#394 Signed-off-by: David Fuelling <sappenin@gmail.com>
The same thing happened to me. reverted to 3.2.0. |
Reverting to 3.2.0 fixes it, can confirm. How are you fetching the version on your package.json? If it is "^3.2.0" it will still download the 3.2.1. You need to make it strict "3.2.1". |
After digging deeper, I found the root cause was the deeper dependency As |
to prevent URL check failures blocking publishing. related tschaub#394
Just "3.2.0" |
Version 3.2.2 reverts the change in 3.2.1. Using 3.2.0 or 3.2.2 should work now. |
It fixes temporarily until you really fix but the vulnerabilities are still there as you use obsolete versions of the dependencies. |
Please update to |
solving the invalid URL error tschaub/gh-pages#394
Issue Overview
Deploying React app to GitHub Pages no longer works after upgrading dependency version of
gh-pages
from3.2.0
to3.2.1
.Issue Details
After the upgrade, now I am getting the error below when I run the npm script
npm run deploy
(which runsgh-pages -d build
):where
<username>
is the actual Git username and<project name>
is the actual Git project name.Additional Information
I used the SSH URL in
git clone
, not the HTTPS one.This is what
git remote -v
gives me:where
<username>
is the actual Git username and<project name>
is the actual Git project name.Findings
By checking
package-lock.json
, I find thatfilenamify-url
is upgraded from^1.0.0
to^2.1.1
, which may be the cause to the issue.Downgrading the version back to
3.2.0
(not^3.2.0
) in mypackage.json
and regeneratingpackage-lock.json
works for me.See commit #393 d49620e
The text was updated successfully, but these errors were encountered: