npm install robotjs --save 跳过install的编译过程就好 加上 --ignore-script npm install robotjs --save --ignore-scripts