remove global dependencies in nodejs env