node.js - npm install在jpegtran-bin处卡住很久,出什么事情了?
ringa_lee
ringa_lee 2017-04-17 15:25:12
0
3
1296

等很久不见npm install -d .完成。。。

npm info linkStuff balanced-match@0.4.2
npm info install jpegtran-bin@0.2.8
npm info install gifsicle@0.1.7
npm info install optipng-bin@0.3.11
npm info postinstall jpegtran-bin@0.2.8
npm info postinstall gifsicle@0.1.7
npm info postinstall optipng-bin@0.3.11

> jpegtran-bin@0.2.8 postinstall D:\mylib\node_modules\grunt-contrib-imagemin\node_modules\jpegtran-bin
> node index.js

\
ringa_lee
ringa_lee

ringa_lee

reply all(3)
Ty80

In this case, it is usually because the network is not good, or because of some indescribable reason... you know.

Peter_Zhu

Try using Taobao’s npm mirror

左手右手慢动作

Postinstall appears in the last sentence of the question. It can be judged that it is not a network problem. At this time, the package has been downloaded locally. jpegtran-bin needs to be edited, so if the subject does not install the visual studio compilation environment, it will get stuck here.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template