Closed doertedev closed 10 years ago
hmm, cannot reproduce the issue. Do you still have it? can you show your package.json
Nope switched to middleman/haml. But thanks.
@welldan97: i'm having this issue right now. Installed assemble-jade by doing npm install assemble-jade
and then ran the build.
Running "assemble:pages" (assemble) task
Error loading engine: jade
Error: Cannot find module 'jade'
Run `npm install assemble-jade` to use jade
Warning: Cannot read property 'init' of undefined Use --force to continue.
Gruntfile extract:
assemble: {
options: {
engine: 'jade',
marked: {
highlight: function(code, lang) {
return require('highlight.js').highlightAuto(code,[lang]).value;
}
}
},
pages: {
options: {
flatten: true,
assets: '<%= config.dist %>/assets',
layout: '<%= config.src %>/templates/layouts/default.hbs',
data: '<%= config.src %>/data/*.{json,yml}',
partials: '<%= config.src %>/templates/partials/*.hbs'
},
files: {
'<%= config.dist %>/': ['<%= config.src %>/templates/pages/*.hbs']
}
}
},
See #3 for fix.
(grunt -v)
Gruntfile.js
node v0.10.31 npm v1.4.23 grunt v0.4.5 grunt-cli v0.1.13