function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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
Andrew,

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