Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript Build a Simple Dynamic Site with Node.js Creating a Basic Template Engine in Node.js Reading from Files

Getting an error on the last part when asking for the chalkers username

I am getting this error only when I introduce the chalkers username, the node app.js console throws this error but I don't see where I need to make the correction.

events.js:183
throw er; // Unhandled 'error' event
^

Error: There was an error getting the profile for favicon.ico. (Not Found)

1 Answer

Sheila Anguiano
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Sheila Anguiano
Full Stack JavaScript Techdegree Graduate 35,111 Points

I was getting the same error, so here is how I solve it and hopefully your case is the same as mine.

1- I'm not using workspaces, I'm using Visual Studio Code on a Mac running OS 10.15.1 2- After some research it appears that means my node version could be an old one, which you can check from your terminal running node -v... so I have to update several programs:

-I update npm (current version 6.13.1) and installed n as recommended here: https://bytearcher.com/articles/ways-to-get-the-latest-node.js-version-on-a-mac/

-with n installed I upgraded node from v10 to v.13.3.0 (which is the latest as of Dec 8, 2019)

After that I was able to see the same things as the teacher. Hope this helps