create .npm/.global directory before installing node