首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >npm安装挂在gulp imagemin安装后

npm安装挂在gulp imagemin安装后
EN

Stack Overflow用户
提问于 2015-11-27 09:21:18
回答 1查看 766关注 0票数 3

我正在使用NPM构建我的项目,并且安装过程挂起。

我已经将其缩小到了用于gulp的gulp模块。

如果我跑了

npm安装gulp imagemin@2.3.0

它挂在5分钟左右。

如果我执行"npm安装--详细的“,就会得到大量的输出,并最终挂起:

npm动词不安全-perm在生命周期中真正的npm信息安装后utf-8-验证@1.2.1 npm动词解锁使用C:\Users\watkins\AppData\Roaming\npm-cache_locks\utf-8-validate-d0ec860f08ac7b2c.lock for D:\dev\ngs-frontend-next\node_modules\browser-sync\node_modules\socket.io\node_modules\engine.io\node_modules\ws\node_modules\utf-8-validate完成 jpegtran@3.0.6后安装D:\dev\ngs-frontend-next\node_modules\gulp-imagemin\node_modules\imagemin\node_modules\imagemin-jpegtran\node_modules\jpegtran-bin节点lib/install.js

这跟吞咽症有关吗?

我该如何解决这个问题?

EN

回答 1

Stack Overflow用户

发布于 2015-12-01 12:47:21

请看Installing gulp-imagemin on Windows creates well over 10,000 files

正如答案所示:您可能在Windows机器上运行。

将您的nodeJS更新到版本5.*以获得一个平面依赖列表以避免260个char路径问题,请参见:Why does the 260 character path length limit exist in Windows?

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33954055

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档