在install命令后加 --ignore-scripts 参数:


npminstall --ignore-scripts