artgon / angularjs-role-based-auth

Role based auth example in AngularJS
162 stars 39 forks source link

'concat' task not defined #5

Open simonsheridan opened 10 years ago

simonsheridan commented 10 years ago

when i run lineman run, i get this error

Running "watch" task
Waiting...
OK
>> File "vendor/components/jquery/jquery.js" added.
>> File "vendor/components/angular/angular.js" added.
>> File "vendor/components/angular-ui-router/release/angular-ui-router.js" added.
>> File "vendor/js/underscore.js" added.
>> File "vendor/components/underscore.string/lib/underscore.string.js" added.
>> File "app/js/app.js" added.
>> File "app/js/controllers.js" added.
>> File "app/js/http_provider.js" added.
>> File "app/js/services.js" added.
>> File "app/js/state_provider.js" added.
>> File "spec/helpers/helper.js" added.
>> File "spec/helpers/jasmine-fixture.js" added.
>> File "spec/helpers/jasmine-given.js" added.
>> File "spec/helpers/jasmine-stealth.js" added.
>> File "app/css/style.less" added.
>> File "app/pages/index.us" added.
>> File "app/templates/main/admin.html" added.
>> File "app/templates/main/app.html" added.
>> File "app/templates/main/error.html" added.
>> File "app/templates/main/login.html" added.
Fatal error: Task "concat" not found.

tried it with many versions of node using nvm. If i remove the concat task, it runs, but i get errors dealing with missing templates when i run in the browser which makes sense. Not sure where to go with this, any ideas?

Also, i do see a concat task in application.js which is defined as below:

// grunt-angular-templates expects that a module already be defined to inject into
  // this configuration orders the template inclusion _after_ the app level module
  concat: {
    js: {
      src: ["<banner:meta.banner>", "<%= files.js.vendor %>", "<%= files.coffee.generated %>", "<%= files.js.app %>", "<%= files.ngtemplates.dest %>"],
      separator: ";"
    }
  },

i tried modifying the task a bit but lineman doesn't seem to want to see this task. am i missing dependencies ?

YusiZhang commented 10 years ago

i met the same problem, could you please help us on that?

artgon commented 10 years ago

Thanks guys, will take a look tonight.

artgon commented 10 years ago

Was able to reproduce but haven't found a solution yet. Gonna need to investigate further.

YusiZhang commented 10 years ago

Thank you

On Jul 7, 2014, at 3:14 AM, Arthur Gonigberg notifications@github.com wrote:

Was able to reproduce but haven't found a solution yet. Gonna need to investigate further.

— Reply to this email directly or view it on GitHub.

yusufcakmak commented 10 years ago

I have same problem.