I am running the npm install in a public GitHub repo and it has locked the express at 4.17.0 in package-lock.json file which is the correc
npm install
4.17.0
package-lock.json
Remove the carrot ^ sign. Then it'll stay locked at 4.17.0.