Skip to content
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

no module: grailsService #30

Open
ggascoigne opened this issue Jun 8, 2013 · 1 comment
Open

no module: grailsService #30

ggascoigne opened this issue Jun 8, 2013 · 1 comment

Comments

@ggascoigne
Copy link

I've getting a javascript error on a pretty simple example and I'm wondering what I misconfigured.

  • grails create-app grails-angular
  • cd grails-angular
  • cp -r /grails-angular-scaffolding lib/angular-scaffolding-1.0-SNAPSHOT
  • add
    • grails.plugin.location.'angular-scaffolding'='lib/angular-scaffolding-1.0-SNAPSHOT'
    • to BuildConfig
  • grails add-domain grails.angular.Book
  • grails ng-install-templates
  • grails ng-generate-all grails.angular.Book
  • grails run-app

gives me

Error: No module: grailsService
http://localhost:8080/static/plugins/angular-scaffolding-1.0-SNAPSHOT/js/angular/angular-1.0.6.js
Line 1104

Any Suggestions?

@dmarley
Copy link

dmarley commented Jul 18, 2013

(we are doing prototype stuff and) as a work around for now we just updated the

grails-app\conf\ApplicationResources.groovy file by adding "grails-default" ref to the angular module --- got us moving forward, so we could continue prototype.

Example:
angular {
resource id: 'js', url: [dir: 'js/angular', file: "angular-${fileVersion}.js"], nominify: true
resource id: 'js', url: [dir: 'js', file: 'grails-default.js']
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants