首页 > 关于grunt 使用

关于grunt 使用

目录文件有package.json 和 Gruntfile.js
注入目录文件到package.json ,
使用命令 npm install
出现如下错误
npm ERR! git clone C:\Users\lzm42\AppData\Roaming\npm-cache_git-remotes\git-github-com-twbs-grunt-sed-git-ec5a8149 C:\Users\lzm42\AppData\Local\Temp\npm-2884-ca27d988\git-cache-473ec8acc056\8dd1aea67ad1bab8a6719f0cf209bef719c66ad7: Cloning into 'C:\Users\lzm42\AppData\Local\Temp\npm-2884-ca27d988\git-cache-473ec8acc056\8dd1aea67ad1bab8a6719f0cf209bef719c66ad7'...
npm ERR! git clone C:\Users\lzm42\AppData\Roaming\npm-cache_git-remotes\git-github-com-twbs-grunt-sed-git-ec5a8149 C:\Users\lzm42\AppData\Local\Temp\npm-2884-ca27d988\git-cache-473ec8acc056\8dd1aea67ad1bab8a6719f0cf209bef719c66ad7: error: cannot spawn sh: No such file or directory
npm ERR! git clone C:\Users\lzm42\AppData\Roaming\npm-cache_git-remotes\git-github-com-twbs-grunt-sed-git-ec5a8149 C:\Users\lzm42\AppData\Local\Temp\npm-2884-ca27d988\git-cache-473ec8acc056\8dd1aea67ad1bab8a6719f0cf209bef719c66ad7: fatal: unable to fork

【热门文章】
【热门文章】