fix race in node_modules install