Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xyd123 opened this issue Jul 18, 2018 · 5 comments

Comments

@xyd123
Copy link

xyd123 commented Jul 18, 2018

切换了无数个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 xyd123 changed the title 这是没有维护了吗? 这是没有维护了吗?csssprites does not support your node v0.12.0, report it to https://github.com/xiangshouding/fis-spriter-csssprites/issues Jul 18, 2018
@xyd123 xyd123 changed the title 这是没有维护了吗?csssprites does not support your node v0.12.0, report it to https://github.com/xiangshouding/fis-spriter-csssprites/issues csssprites does not support your node v0.12.0, report it to https://github.com/xiangshouding/fis-spriter-csssprites/issues Jul 18, 2018
@oxUnd
Copy link
Contributor

oxUnd commented Jul 18, 2018

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

@xyd123
Copy link
Author

xyd123 commented Jul 23, 2018

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

@oxUnd
Copy link
Contributor

oxUnd commented Jul 25, 2018 via email

@renxia
Copy link

renxia commented Aug 23, 2018

@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 插件也是一样

@oxUnd
Copy link
Contributor

oxUnd commented Aug 23, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants