welldan97 / assemble-jade

MIT License
2 stars 1 forks source link

Fatal Error: Callback was already called. #4

Open becandoo opened 9 years ago

becandoo commented 9 years ago

Question...I installed the assemble-jade plugin but am getting the following error:

Assembing dist/blog.html OK Assembling dist/blog.html ERROR Fatal Error: Callback was already called.

I am using Windows 7 64-bit, maybe this is my first mistake :p. Here is my essemble task:

assemble: {
  pages: {
    options: {
      engine: 'jade',
      flatten: true,
      assets: '<%= config.dist %>/assets',
      layout: '<%= config.src %>/templates/layouts/layout.jade',
      data: '<%= config.src %>/data/*.{json,yml}',
      partials: '<%= config.src %>/templates/partials/*.jade',
      plugins: ['assemble-contrib-permalinks','assemble-contrib-sitemap'],
    },
    files: {
      '<%= config.dist %>/': ['<%= config.src %>/templates/pages/*.jade']
    }
  }
},
welldan97 commented 9 years ago

:confused: sorry @becandoo , not much time for that now. on first glance assemble task looks fine. Please let me know if you figure out what was the problem. Thanks.