Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMaria Ionova
5,736 PointsWhy do I get Uncaught TypeError: je.$hook is not a function
Hi! When I run this in the console, I get Uncaught TypeError: je.$hook is not a function
const phrase = 'I Have Spoken'; console.log(phrase.toLowerCase());
console.log(phrase.toUpperCase());
Here is the snapshot https://w.trhou.se/45vnrmlsgh
Thanks in advance for your help!
2 Answers
Qusay Al-Bawareed
Courses Plus Student 207 PointsI have forked your workspace, running "node tranform.js" gave me the expected result, can you further explain how you produced this error?
which command do you use to run the file?
also, make sure you run commands in the correct directories.
Maria Ionova
5,736 Pointsthanks, Qusay Al-Bawareed for looking into this. So, I just use the Chrome developer tools and run it in the console. It seems to be working but I get the errors in the console right after the correct output.