yeoman creates project in Desktop even though I CD into directory

后端 未结 2 1469
一个人的身影
一个人的身影 2021-01-29 01:58

I am having a issue creating a yeoman project. I cd in the directory type yo and it says:

Here is it suppose to asked me project name etc and it wants to t

2条回答
  •  攒了一身酷
    2021-01-29 02:37

    Based on your log it's looks like you are running yo in a folder where a .yo-rc.json is already existing. Careful under windows the .yo-rc.json can be that is of type hidden and you can't see it in explorer. Because of an existing .yo-rc.json you are not asked anymore for info e.g. project name, build tool etc. My recommendation will be to create a new folder run inside yo command

提交回复
热议问题