I have just started with Grunt and I keep getting this error. Reference error: model is not not defined.
Possibly something wrong with my config? I followed these steps.
- Installed grunt-cli globally with npm install -g grunt-cli
- Installed grunt to local directory with npm install grunt
- Created this Gruntfile.js in local directory.
- Run -> grunt default -v
My Gruntfile.js
model.exports = function (grunt) {
grunt.registerTask("default", function () {
grunt.log.writelne("Hello world");
});
};