Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我似乎在使用 yeoman 脚手架安装程序时遇到了问题。我可以 cd 到用于项目文件的新目录,但由于某种原因,使用 yo starter 它总是将构建目录安装到桌面。
以前工作过,不知道发生了什么
您可能.yo-rc.json在父目录中有一个文件。
.yo-rc.json
删除此文件,它将脚手架到您的当前目录中。
当这种情况发生时,Yeoman 会警告您,因此,如果您阅读该工具告诉您的内容,您就会明白为什么会出现问题。