zhangyuanwei / node-images

Cross-platform image decoder(png/jpeg/gif) and encoder(png/jpeg) for Nodejs
https://npmjs.org/package/images
MIT License
1.55k stars 205 forks source link

升级计划(2019.9.18) #193

Closed oxUnd closed 4 years ago

oxUnd commented 5 years ago

现在项目有几个痛点

针对以上的几个问题,本次版本进行如下改造

预计完成时间 10.1 日前

Axure commented 5 years ago

测试用例,选好用什么框架了吗?googletest?或者别的?

oxUnd commented 5 years ago

暂时还没有,gtest 确实比较常用。

oxUnd commented 5 years ago

由于最近绩效忙碌,假期进行更新。

YSHIDM commented 5 years ago

大神给力,👍。 我在mac上使用,报错了,

/Users/lcy/Project/my/fileUtil/node_modules/images/scripts/util/binding.js:18
      throw new Error(errors.unsupportedEnvironment());
      ^

Error: imagesdoes not yet support your current environment: OS X 64-bit with Unsupported runtime (72)
For more information on which environments are supported please see:
https://github.com/undefined/releases/tag/v3.0.2
    at module.exports (/Users/lcy/Project/my/fileUtil/node_modules/images/scripts/util/binding.js:18:13)
    at Object.<anonymous> (/Users/lcy/Project/my/fileUtil/node_modules/images/index.js:32:51)
    at Module._compile (internal/modules/cjs/loader.js:956:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Module.require (internal/modules/cjs/loader.js:849:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/Users/lcy/Project/my/fileUtil/index.js:5:16)
    at Module._compile (internal/modules/cjs/loader.js:956:30)

不知道是mac系统的原因,还是node12.13.0的原因。

oxUnd commented 4 years ago

@YSHIDM Node 12 还不支持。

YSHIDM commented 4 years ago

OK👌

1316346949 commented 4 years ago

支持大佬

luoyjx commented 4 years ago

@xiangshouding 下载失败的问题,我是在 gitee 上弄了个类似镜像源的东西,这样临时解决吧,希望能有帮助,参考 👇

https://gitee.com/luoyjx/node-images-bindings

smallbad commented 4 years ago

大神,想在node 10 支持了吗

oxUnd commented 4 years ago

完成 Mac 的全平台支持 node 8 以上;

oxUnd commented 4 years ago

209