Questions tagged [surge.sh]
46 questions
1
vote
0 answers
How do I see edits to my create-react-app after using npm run build?
I'm pretty new to React. I was following a course on Codecademy and working on a project called Jamming. Every time I'd start for the day, I'd used npm start. Then at the end, they had me deploy to surge.sh and use npm run build. After I finished…

Trish Spraggins
- 43
- 9
1
vote
1 answer
Deploying using npm surge issue
I'm trying to deploy my web project using surge. I have done this successfully on previous occasions. But now i'm getting an error and cannot understand why this happens.
email: g****n5**5@yahoo.com
token:…

CraZyDroiD
- 6,622
- 30
- 95
- 182
1
vote
0 answers
Communicating between client/server-side app deployed on Surge/Heroku respectively
I built a simple app that uses Rails for the back-end and React/Redux for front-end. I deployed the Rails app through Heroku and React/Redux app with Surge. When running these two apps locally on two different servers (Rails-3001/React-3000), I'm…

jamesvphan
- 1,825
- 6
- 23
- 30
0
votes
1 answer
Incorrect request url in the application that is hosted on vercel
There is a site with a client and a server part. The client part is hosted on Vercel, the server part on Railway. The client part makes requests to the server using Axios, Axios instance has baseUrl which is taken from .env file. The variable was…
0
votes
1 answer
How to download surge.sh repository?
How to download surge.sh repository? I deployed application, then lost code. How to recover it from surge.sh? Github repository was not updated.
Until 2016, it was not possible: https://github.com/sintaxi/surge/issues/192

Mário César Fracalossi Bais
- 340
- 2
- 5
0
votes
1 answer
Surge doesn't react to me when I enter my password
I run "surge" command then it asks me for my email. So I type email and press enter. Then surge wants my password, but when I type my password and press enter, It doesn't react to me.
See the below image:
Does anyone know what's the problem?

Arman Ebrahimi
- 2,035
- 2
- 7
- 20
0
votes
2 answers
Issues with installing surge
I was trying to install Surge in order to publish my project but my terminal gave me the following error message:
npm ERR! code EACCES`
npm ERR! syscall mkdir
npm ERR! path /usr/local/lib/node_modules/surge
npm ERR! errno -13
npm ERR! Error: EACCES:…

mushroom_clouds
- 27
- 3
0
votes
1 answer
mui icon not rendering when React app is deployed
In my app I'm importing a mui/icon:
import PriceCheckIcon from "@mui/icons-material/PriceCheck";
When I run the app locally the icon displays fine but once deployed on Surge nothing shows, and no errors.
Then I tried to deploy with Vercel and had…

code4cash
- 67
- 1
- 2
- 10
0
votes
0 answers
I have a project which i want to deploy on Surge with GitHub Actions but every time i face this error when i push some modification on GitHub
I don't know about the invalid user or password
name: Deploy Website
on: [push]
jobs:
build:
runs-on: windows-latest
name: Deploying to surge
steps:
- uses: actions/checkout@v2
- name: Install Node.js
uses:…

Baboo
- 65
- 1
- 8
0
votes
2 answers
Gatsby / GraphQL App - Rendering and Style Issues When Deployed (Netlify and Surge)
Built a portfolio page with Gatsby / GraphQL, using styled components. On my local machine, it looks and functions exactly as I want it to. When deployed, there seem to be button style issues and one of my images isn't rendering at all. I tried…

jordanwhunter
- 13
- 4
0
votes
0 answers
Blank page after deployment using surge
I accidentally set wrongly my React's project path when deploying myapp using surge. And now I can just visualize an empty black page, even when specifying the project path correctly.
Has anyone solved this issue?
Thanks!

amdev
- 11
0
votes
2 answers
How to deploy a React website via Vercel or Surge?
Although it seems like I was able to deploy the website successfully (which was built with React), as soon as I click on the deployed link, the browser takes me back to localhost:3000. I assume it's because I've set redirectUri as the following…

B_12
- 143
- 1
- 9
0
votes
1 answer
Why does installing Surge Gives an Error?
I'm trying to install Surge by using npm install -global surge
but it throws an error as below. Can someone please help?
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR!…

B_12
- 143
- 1
- 9
0
votes
1 answer
Anchor tag working locally, but not when deployed
Weird problem I'm running into... This anchor tag
Resume
is working fine locally. Opens a new page and loads my pdf file.
But for some reason when I deploy my site to surge.sh the link no longer works and…

Jayg713
- 327
- 3
- 14
0
votes
1 answer
Send Docker Entrypoint logs to APP in realtime
I'm looking for ideas to send Docker Logs for each runs to be sent to my application in realtime. I'm looking ways this can be done. Please let me know how this can be done.
Let me know if you have done this already or know how this can be…

Arun Singh
- 3
- 1
- 3