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 204 forks source link

Not found myProject/vendor/darwin-x64-binding.node #222

Closed HackHarry closed 2 years ago

HackHarry commented 3 years ago

electron里调用images,报错:Not found myProject/vendor/darwin-x64-binding.node , You can rebuild it, to directory myProject, Run node-gyp rebuild Command. 项目目录执行了node-gyp rebuild报错binding.gyp not found

环境:MacOS 10.15.5

LiXinLeLe commented 2 years ago

electron里调用images,报错:Not found myProject/vendor/darwin-x64-binding.node , You can rebuild it, to directory myProject, Run node-gyp rebuild Command. 项目目录执行了node-gyp rebuild报错binding.gyp not found

环境:MacOS 10.15.5

请问最后怎么解决的呀

oxUnd commented 2 years ago

electron 没有其下使用过,确实会由于 node 版本的问题而导致无法使用。