number one: make sure you use latest versions of node and npm. number two: install each package separately to find out which one causes the error and then troubleshoot from there.
Also clear npm cache as you do the above steps
What you can also do is delete your node_modules folder and start over by installing one package at a time