2017-08-03 70 views
0

我試圖做NPM安裝guetzli。但它總是被示數說NPM Guetzli不工作

/用戶/阿娜/下載/ helloworldGoogle/node_modules/guetzli /供應商/ guetzli`二進制似乎沒有正常工作
⚠guetzli預編譯 - 測試失敗
ℹ編譯從源 ✖錯誤上:mkdir -p

/用戶/阿娜/下載/ helloworldGoogle/node_modules/guetzli /供應商& &使& & MV斌/發行/ guetzli

/用戶/阿娜/下載/ helloworldGoogle/node_modules/guetzli /供應商/ guetzli 命令失敗:使& & MV斌/發行/ guetzli

/用戶/阿娜/下載/ helloworldGoogle/node_modules/guetzli /供應商/ guetzli /bin/sh的:pkg配置:找不到

在命令行命令。做了很多研究。似乎沒有任何幫助。你能分享你的想法嗎?

感謝,

回答

0

谷歌不維護Guetzli的NPM實現,如果你需要的是將您的計算機上運行一個程序,您可以從這裏下載一個預編譯的二進制:https://github.com/google/guetzli/releases

最簡單在Mac上獲得guetzli的途徑是通過Homebrew,簡單地說:

brew install guetzli