NPM报 ERR! Unexpected token '.' 错误 有可能是nvm的版本问题。 nvm1.1.7版本下安转的npm在install的时候可能会报这个错误。 升级一下nvm版本就好了。 ...