While doing npm install, inside node_modules .staging folder is getting created.
Reasons: This is a temporary folder where the modules will be kept untill npm downloads all the modules specified in the package.json.
What if .staging is still present after completion of npm install?
The space of the drive may be less. Please do npm install in a drive that has more space.
May be because of network issues, all packages couldn’t get installed.