fix a problem that `make sever` got stuck when npm modules are missing