For lesson 4 of Basic Node and Express, I’m getting a TypeError: Object prototype may only be an Object or null at /userPath/free-code-camp/boilerplate-express/public
The line of code I used is this : app.use(express.static("/public", __dirname +"/public"));
Now I’m stuck on the “Use the .env file” one, lesson 6, even though my API response is correct on my localhost:3000/json. I tried various ways of re-saving the response variable, or just doing it within the object itself. Also, how do you post in code block format here?