zhangyuanwei / node-images

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

node 10+ 问题 #167

Closed dodobaba closed 5 years ago

dodobaba commented 5 years ago

Mac platform version is 10.14, so the platform equal Darwin. node version is 10, so equal 64 npm install images the latest version is 3.0.1 so auto compiles eq darwin-64-64_bind.node the file in the folder "3.0.2",not in "3.0.1". so will be 404! the solution is to modify "version:3.0.1" to "version:3.0.2" in the package.json which in the images module folder. after that manually run "node ./scripts/install.js". All fine!

oxUnd commented 5 years ago

fixed