Skip to content

grunt serve:dist doesn't work with client side coffeescript #314

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

Closed
thgil opened this issue Jul 8, 2014 · 4 comments
Closed

grunt serve:dist doesn't work with client side coffeescript #314

thgil opened this issue Jul 8, 2014 · 4 comments
Labels

Comments

@thgil
Copy link

thgil commented Jul 8, 2014

Doing grunt build then grunt serve:dist I get this error in the browser:

Uncaught Error: [$injector:unpr] Unknown provider: aProvider <- a <- Auth

This happens with this generation:

# Client

[?] What would you like to write scripts with? CoffeeScript
[?] What would you like to write markup with? Jade
[?] What would you like to write stylesheets with? Less
[?] What Angular router would you like to use? uiRouter

# Server

[?] Would you like to use mongoDB with Mongoose for data modeling? Yes
[?] Would you scaffold out an authentication boilerplate? Yes
[?] Would you like to include additional oAuth strategies? 
[?] Would you like to use socket.io? Yes
@JaKXz
Copy link
Collaborator

JaKXz commented Jul 8, 2014

@thgil perhaps try a npm install && bower install and run it again? I say this because everything worked fine for me, so I'm not sure what the problem is exactly.

Also, calling grunt build before grunt serve:dist is unnecessary, since the latter calls the former anyway.

@thgil
Copy link
Author

thgil commented Jul 8, 2014

No luck.

This only happens when I try generate with CoffeeScript. The Javascript version of grunt serve:dist works fine though.

@JaKXz JaKXz changed the title Deployment build doesn't work grunt serve:dist doesn't work with client side coffeescript Jul 8, 2014
@JaKXz JaKXz added the bug label Jul 8, 2014
@JaKXz
Copy link
Collaborator

JaKXz commented Jul 8, 2014

Thanks for clarifying @thgil, I wasn't sure how to isolate the issue since I tried the Javascript version originally.

@DaftMonk
Copy link
Member

DaftMonk commented Jul 9, 2014

fixed with #316

@DaftMonk DaftMonk closed this as completed Jul 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants