Skip to content
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

sh setup.sh --> setup.sh: 8: setup.sh: Syntax error: newline unexpected #52

Open
jbonlinea opened this issue Mar 14, 2017 · 2 comments
Open

Comments

@jbonlinea
Copy link

Hi there,

Well, everynthing is in the title, I'm kind of a noob so not sure what could I say.

On a Rpi 3 with Raspian up to date, I downloaded the setup.sh file in my home folder, ran chmod +x setup.sh, setup.sh is now executable but nothing happend, so I tried setup.sh and sh setup.sh, but only get this in return setup.sh: 8: setup.sh: Syntax error: newline unexpected.
If I browse to http://ip-to-your-Pi:3000 replacing with my ip, I have a connexion failure (in french : "La connexion a échoué").

I'm a noob but usually find my way, but now I have now clues what's wrong, but that it seems that there is an error, maybe at the 8th caracter, or line 8 ?

Any help would be welcome.

Thank's in advance.

@db47
Copy link

db47 commented May 20, 2017

Right click on setup.sh --> Open--> Execute in Terminal window ... and let the magic happens!

@LuisDiazUgena
Copy link

Hi!

I'm on a ssh session to my pi and I'm getting this same error:

pi@raspberrypi:~/picast $ ./setup.sh
./setup.sh: line 7: syntax error near unexpected token `newline'
./setup.sh: line 7: `<!DOCTYPE html>'

I've downloaded setup.sh file using wget directly from the terminal. I suppose that it's not going to be a problem.

Greetings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants