+ Start a Discussion
Andrew B 1Andrew B 1 

Heroku - NPM Start ERROR - Cannot read property query of null

I am on the Heroku trailhead: Change and Redeploy the Application

After updating the server.js and running npm start I get the error in the title:
User-added image

Jeff DouglasJeff Douglas

Can you check and see if port 5000 is already being used? Maybe you started the process in another tab or window.

Jeff Douglas
Trailhead Developer Advocate