You haven't told us what the error message was, but a stab in the dark is that you haven't installed all the libraries needed to compile your sketch.
The double-counting is probably caused by your PC browser - which you haven't identified, by the way - trying to download the favicon for your site.