fis-spriter-csssprites icon indicating copy to clipboard operation
fis-spriter-csssprites copied to clipboard

csssprites does not support your node v0.12.0, report it to https://github.com/xiangshouding/fis-spriter-csssprites/issues

Open xyd123 opened this issue 7 years ago • 5 comments

切换了无数个node版本都是提示: csssprites does not support your node v0.12.0, report it to https://github.com/xiangshouding/fis-spriter-csssprites/issues, 切换的版本包括v0.12.0,v8.11.2, v8.0.0, v7.8.0, v6.0.0, v5.7.0~~~就不一一列举了,centos环境下

xyd123 avatar Jul 18 '18 07:07 xyd123

Linux 情况确实比较多,先看看报什么 bug 吧。

oxUnd avatar Jul 18 '18 09:07 oxUnd

@xiangshouding 是warn不是error,就是报标题那个错误

xyd123 avatar Jul 23 '18 04:07 xyd123

centos 不支持也正常,内核陈旧,如果是百度的同学请联系 fis 组的同学解决。

xyd123 [email protected] 于2018年7月23日周一 下午12:00写道:

@xiangshouding https://github.com/xiangshouding 是warn不是error,就是报标题那个错误

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fex-team/fis-spriter-csssprites/issues/80#issuecomment-406932635, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmhmwwzFJ54X_8FCOYgFGsUpXvYb4Diks5uJUpjgaJpZM4VUFh1 .

oxUnd avatar Jul 25 '18 08:07 oxUnd

@xiangshouding @2betop @xyd123 和 nodejs 版本无关,主要原因是 "images": "3.0.1" 依赖改为了从 github 下载 .node 文件,但是现在大环境的原因, github 那速度很难下载成功,在隔离的内网里的服务器上更是不可能成功。在安装时建立内网代理服务器也过于复杂

现在我们的解决方法是下载支持 nodejs 8.x 版本的文件到本地,npm install 之后检测 .node 文件不存在则执行 copy 命令复制进去

建议进行一下 images.node 的内置。比如默认内置支持的 nodejs 最新版本(8.x)的 .node 文件,那么也就是三个而已,其他的不存在再去执行下载逻辑好了 还有那个 node-pngcrush 插件也是一样

renxia avatar Aug 23 '18 00:08 renxia

了解情况了,GitHub 被隔壁大爷屏蔽了么?

任侠 [email protected] 于2018年8月23日周四 上午8:59写道:

@xiangshouding https://github.com/xiangshouding @2betop https://github.com/2betop @xyd123 https://github.com/xyd123 和 nodejs 版本无关,主要原因是 "images": "3.0.1" 依赖改为了从 github 下载 .node 文件,但是 github 那速度很难下载成功,在隔离的内网里服务器上更是不可能成功

建议还原一下 images 对 .node 的内置,还有那个 node-pngcrush 插件也是一样

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fex-team/fis-spriter-csssprites/issues/80#issuecomment-415236908, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmhm1j4JWSWXjHhOatLbXMckY9b_DRAks5uTf5agaJpZM4VUFh1 .

oxUnd avatar Aug 23 '18 11:08 oxUnd