Try running npm install --ignore-scripts in preinstall