I’ve read forum posts on this and tried the code in the hint guide. That didn’t pass and my current code doesn’t pass. Seems straightforward and I don’t see what is wrong with the code. Can someone point me in the right direction, please? Here’s my code:
Thank you! Fortunately, I’m working on my local server, too, and the export code was still there, so I added it back into my Gitpod repo. Don’t know why I removed it. As far as using the wrong link, no idea where my head was at with that. At any rate, it passes now, so I can officially move ahead! Thanks again!
Okay, so here’s how it went. I started the “Managing Packages with NPM” by reading through the local server guide (which was buried in the Gitpod guide) on how to set up on localhost. I passed those challenges by submitting my localhost link.
Then, when I got to “Basic Node and Express,” I was trying to use the same code base and nothing worked. My first hint that something was off should have been that the myApp.js file was missing, so I copied it from the ZIP file I downloaded on my first attempt at this. That’s when I went to Gitpod. It wasn’t until later, when I re-read the instructions in the first challenge and the info in the links that I realized I needed to clone another repository to work from for the “Basic Node and Express” challenges.
So, I suppose at this point, I could submit either a localhost link or a Gitpod link, since I’m doing both. I wanted the code on my local system for future reference. And I’ve never used Gitpod before, so thought it would be good to know.