'Express JS not updating version in terminal

I needed ExpressJS v 4.17 instead of 4.16 as it caused some dependency issues with other modules. I followed the instructions in this answer and now I can’t work out what’s going on.

In my package.json I’m seeing v 4.17 but when I try express -v in terminal I see 4.16. If I go to node modules in the directory my app is in the package.json for the express module is also 4.17 - but terminal still showing 4.16

Am I missing a step here? It looks like 4.16 is still installed according to terminal and that it hasn’t been updated despite all the other signs saying it has?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source