grails-angular-scaffolding icon indicating copy to clipboard operation
grails-angular-scaffolding copied to clipboard

no module: grailsService

Open ggascoigne opened this issue 12 years ago • 1 comments

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?

ggascoigne avatar Jun 08 '13 21:06 ggascoigne

(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'] }

dmarley avatar Jul 18 '13 16:07 dmarley