When you run npm install --save somepackage, it usually adds something like this into package.json:
npm install --save somepackage
\"dependencies\": { \"somepackage\": \"^2.1.
Run:
npm install --save --save-exact my-module@my-specific-version
Adding an answer to make this advice easier to see.