-
Notifications
You must be signed in to change notification settings - Fork 178
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
crud-module generator introduces lots of errors #220
Comments
I'm having the same problem on OSX, same output. Specifically, running nodejs version: 5.11.0 |
I also have the same problem on OSX |
@codydaig @ilanbiala any ideas what could be causing this? |
When you created your application using Master is 0.5.0-beta. This would explain the issue with the menus. In 0.5.0-beta, they have renamed the service to As for the question asking if the generator should name |
@Alexisio yeah, I'm on |
@jedau |
@IL4Miy With regard to resolving that error, the way I fixed that was retool the line to look like this:
Try it out on your code. I hope that helps resolve that issue. |
@jedau This works for me but I also habe these 38 other errors. |
@IL4Miy yeah, I guess that's why I created an Issue, so that they would notice and fix it. I fixed all of the errors one by one, so that resolved it for me. You could either do that or just wait for the fix. I'm waiting for the fix as well, but I've since moved past this part. It would be nice to have a fix for this issue for when I create a new CRUD module for a different project. |
It seems that it's introducing lots of whitespaces to the generated code.
I ran:
Even though I entered
customer
as the name of the module, the generated name iscustomers
. Is that the correct behavior?nodejs version:
5.11.0
generator-meanjs version:
0.4.4
yo version:
1.7.0
OS:
Ubuntu 14.04.4
I fixed them all one-by-one just to get
grunt
to execute properly.EDIT: After all errors were fixed, all the pages were blank, even the index. Looking at the web inspector, it seems I encountered
Error: [$injector:unpr] Unknown provider: MenusProvider <- Menus
. I tried to changemenuConfig.$inject
in/modules/customers/client/config/customers.client.config.js
totopbar
, but it didn't do anything. I changed it back tomenuService
and it finally worked properly. I'm not quite sure what happenedThe text was updated successfully, but these errors were encountered: