-
Notifications
You must be signed in to change notification settings - Fork 204
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
第一次使用,报如下错误:Can\'t load the addon #60
Comments
更换为 系统自带的库 giflib 4.x.x |
二进制是需要重新 build 才能用的呀,并不能像依赖 python 装个 python 就行了的呀。 |
不太明白你的意思,是需要把 |
当然是把 images 编译一把啊 |
Error: Can't load the addon. Issue to: https://github.com/zhangyuanwei/node-images/issues Error: Cannot find module './bindings/linux/x64/4.0.0/binding.node' 遇到一个差不多的,求解决 |
node v4.4.7 |
change the version to 2.1.10 in package.json like "images": "2.1.10" |
安装的话就使用了npm install images。
其他安装包
giflib 4.x.x
libpng 1.5.x
jpeg-turbo 1.x.x
自己手动编译安装。。。
/node_modules/images/binding.js:55
throw new Error('Can't load the addon. Issue to: ' + bugUrl +
^
Error: Can't load the addon. Issue to: https://github.com/zhangyuanwei/node-images/issues Error: Cannot find module './bindings/linux/ia32/0.12.0/binding.node'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/home/yangqw/spider/zhihuspider/node_modules/images/binding.js:52:34)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at Object. (/home/yangqw/spider/zhihuspider/node_modules/images/binding.js:55:23)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/home/yangqw/spider/zhihuspider/node_modules/images/index.js:4:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
error: Forever detected script exited with code: 1
The text was updated successfully, but these errors were encountered: