I have some module in my node_module folder but because I am amateur in nodejs, when I wanted to install theme, I forgot to use --save with npm i
nodejs
--save
npm i
You can install the same package again using npm install --save and it should just replace the current package files with freshly installed ones. It will also add the packages you already added with the default version notation.
npm install --save