removing stubborn api dir and its node_modules