sintaxi / surge

CLI for the surge.sh CDN
https://surge.sh
2.85k stars 136 forks source link

Surge command not working in latest version #353

Open Gillinghammer opened 5 years ago

Gillinghammer commented 5 years ago
npm install --global surge
surge build/

running the above and my only output is

"Welcome to Surge!"

nothing else happens... tried running it directly from the directory and in other projects to no avail. Anyone seen this before?

ortonomy commented 5 years ago

I'm trying to run surge today, and I'm getting the same.

OS: MacOS Mojave Surge@0.20.1

ortonomy commented 5 years ago

OK! Gonna close this. Turns out that the fix here is NOT to use the solarized dark theme in iTerm...

It has it's background color exactly the same as the output color from the surge command. It looks like it's not working, when in fact, it's just invisible... d'oh!

Reference which tweaked me to this: https://github.com/zsh-users/zsh-autosuggestions/issues/182

Hope this helps somebody. @Gillinghammer

tchalvak commented 5 years ago

Dev friend of mine who I introduced surge to encountered the same problem. Maybe it would make sense to change a few elements of the surge background so that it's clear that there is text there so it doesn’t blend in with darkness or other text.

anusharaob commented 4 years ago

Also if you have used npm / yarn as a package manager in the beginning of gatsby project installation, install the surge command using the same package manager. I initially had used yarn for gatsby project and was trying to install surge through npm and hence I was getting Command not found. I removed the npm package and installed it through yarn, it finally worked :)