Answer the question
In order to leave comments, you need to log in
Yeoman is installed in the root folder, how to change it?
The question is this: I decided to try to try to work with the yeoman scaffolding tool. I do the installation through the terminal: first globally
$ npm install -gyo
$ npm install -g generator-gulp-webappand at the end I create a new folder in which I deploy the project:
$ cd project mkdir yeoman cd yeoman
$ yo gulp-webapp
Answer the question
In order to leave comments, you need to log in
The problem has proven to be quite popular, regardless of the operating system. When creating a new project and installing yeoman into it with the yo command, an error occurred, the system did not see .yo-rc.json in the required directory, and by default accepted the .yo-rc.json that was globally installed with yeoman. The solution to the problem is as follows: when creating a project folder and initializing yo in it, you need to create an empty .yo-rc.json file ( {} ) in the folder and after that yeoman will successfully appear in the required folder.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question