-
Notifications
You must be signed in to change notification settings - Fork 12k
ng generate model create the file in incorrect path. #266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Generating a model is not a supported a supported action in the angular-cli, it is a holdover as it is based upon the ember-cli. I believe what you're trying to accomplish is generation of a service, in which case you'll want to use this command:
|
Thks. |
Agreed, we will certainly investigate handling this gracefully |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
If a run the command
ng generate model todo
.The created todo model file path is/app/models/todo.js
.I think the current file path is/src/app/models/todo.js
.The text was updated successfully, but these errors were encountered: