The simplest solution is to give chatgpt your package.json and split your installs into single commands, and put them all into a .sh
Prompt: Make this into a .sh which does a single npm install for each. It must be the exact version