I'm using a script to backup the .node-red
directory MINUS the node_modules
directory & contents (due to it's size), and writing up the restore process for when I need it.
Am I right in thinking that the process to rebuild the missing node_modules
, would be;
cd .node-red && npm install
Which would enable npm to create the missing node_modules
directory, and populate it with the required modules detailed in the package.json
, or would the node_modules
directory have to be created manually first?