Basic Node and Express - Meet the Node console

Tell us what’s happening:
Describe your issue in detail here.
I placed a console.log(“Hello World”) after the 2 lines in myApp.js and it does not run, did i do something wrong ?

Your project link(s)
https://backend-freecode.glitch.me/

solution: Glitch :・゚✧

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

Challenge: Basic Node and Express - Meet the Node console

Link to the challenge:

Hello there,

Do you see any errors in the console/terminal in Glitch?

here are my logs:
Resolving: total 60, reused 60, downloaded 0
Resolving: total 60, reused 60, downloaded 0
… on and on…

what is this glitch thing like?
i cant see that you’ve cloned the github files in your link, it looks like a completely different app at my end.

You need to enable npm on Glitch. Open the terminal and run enable-npm

Pretty sure if the engine is not specified in package.json it will default to Node.js version 10 and use pnpm. Which for whatever reason doesn’t seem to work with our boilerplate.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.