Skip to content

'concat' task not defined #5

Description

@simonsheridan

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions