鍍金池/ 問答/Linux/ cnpm install hexo-deployer-git –save報(bào)錯(cuò)?

cnpm install hexo-deployer-git –save報(bào)錯(cuò)?

 pretty  qian-4  ~  codelearning  starminjie  master  97?  13?  60?  %  cnpm install hexo-deployer-git –save
? Install fail! Error: [@–save] resolved target /Users/libai/codelearning/starminjie/–save error: ENOENT: no such file or directory, lstat '/Users/libai/codelearning/starminjie/–save'
Error: [@–save] resolved target /Users/libai/codelearning/starminjie/–save error: ENOENT: no such file or directory, lstat '/Users/libai/codelearning/starminjie/–save'
    at module.exports (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/download/local.js:30:11)
    at throw (native)
    at onRejected (/usr/local/lib/node_modules/cnpm/node_modules/co/index.js:81:24)
npminstall version: 3.3.0
回答
編輯回答
薄荷綠

代碼書寫錯(cuò)誤,改為--save:

cnpm install hexo-deployer-git –-save
2017年12月24日 11:47