node.js - 关于grunt 使用

 mobiledu2502880051 发布于 2022-11-07 10:23

目录文件有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

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有