Exit status 1 error

Did you test your setup with one of the example-code provided by Sensorplayground?
f.e. this one: