npm install失败是由于库没配好,所以先在user/administrater下(你是哪个用户就在哪个目录下)找.npmrc文件,找不到的话就新建一个,在用户目录上gitbash 输入:touch .npmrc,然后在用户目录下就会看到.npmrc这个文件,然后把
registry=https://repository.itt.space/repository/npm-group/
//registry=https://registry.npm.taobao.org/
phantomjs_cdnurl=https://repository.itt.space/repository/phantomjs
chromedriver_cdnurl=https://repository.itt.space/repository/chromedriver
SASS_BINARY_SITE=https://repository.itt.space/repository/node-sass
粘贴到npmrc中,然后npm adduser
姓名:工号,密码:工号密码,邮箱:公司邮箱。
idea破解
http://blog.csdn.net/zhangwenwu2/article/details/54948959