本文介绍了错误:命令失败:C:\ Windows \ system32 \ cmd.exe/s/c"rm ./mean/package.json"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何解决此错误.当我使用命令"yo meanjs",但未如视频中所示.它的:不明确的您使用的是官方的MEAN.JS生成器.您要生成的js版本是什么意思?我选择0.4.0您希望在哪个filder中生成项目?意思是克隆MEAN存储库…然后出现错误:命令失败:C:\ Windows \ system32 \ cmd.exe/s/c"rm ./mean/package.json"不能将"rm"识别为内部和外部命令,可操作程序或批处理文件.

How to fix this error. When i use command "yo meanjs", but not show as in video. It’s:undefinedYou’re using the official MEAN.JS generator.What mean,js version would you like to generate? i choose 0.4.0In which filder would you like the project to be generated? meanCloning the MEAN repo…Then it appear error:Command failed: C:\Windows\system32\cmd.exe /s /c "rm ./mean/package.json"‘rm’ is not recognized as an internal and external command, operable program or batch file.

推荐答案

您应在windown 7上安装 git 并选择所需的文件夹.点击-> 鼠标右键-> Git Bash 输入命令后:"yo meanjs" ,一切都会好起来

you should install git on windown 7 and select folder you want . click -> right mouse -> Git BashAfter type command : "yo meanjs" and everything will good

这篇关于错误:命令失败:C:\ Windows \ system32 \ cmd.exe/s/c"rm ./mean/package.json"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-26 06:08