Skip to content

Instantly share code, notes, and snippets.

@billsaysthis
Created May 31, 2013 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billsaysthis/5687207 to your computer and use it in GitHub Desktop.
Save billsaysthis/5687207 to your computer and use it in GitHub Desktop.
Problem with running grunt watch
$ grunt watch
>> Local Npm module "grunt-contrib-watch" not found. Is it installed?
>> Local Npm module "grunt-contrib-compass" not found. Is it installed?
Warning: Task "watch" not found. Use --force to continue.
/*global module:false*/
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// Task configuration.
compass: {
options: {
config: 'config.rb',
force: true
}
},
watch: {
files: ['prada/src/main/webapp/css/sumo/**/*.scss'],
tasks: ['compass']
}
});
// These plugins provide necessary tasks.
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-compass');
// Default task.
grunt.registerTask('default', ['watch']);
};
npm list [11:57:17]
npm WARN package.json dateformat@1.0.2-1.2.3 No repository field.
npm WARN package.json eventemitter2@0.4.11 'repositories' (plural) Not supported.
npm WARN package.json Please pick one as the 'repository' field
npm WARN package.json jshint@2.0.1 No repository field.
npm WARN package.json faye-websocket@0.4.4 'repositories' (plural) Not supported.
npm WARN package.json Please pick one as the 'repository' field
/Users/blazar/Development/sumo
├─┬ grunt@0.4.1
│ ├── async@0.1.22
│ ├── coffee-script@1.3.3
│ ├── colors@0.6.0-1
│ ├── dateformat@1.0.2-1.2.3
│ ├── eventemitter2@0.4.11
│ ├─┬ findup-sync@0.1.2
│ │ └── lodash@1.0.1
│ ├─┬ glob@3.1.21
│ │ ├── graceful-fs@1.2.1
│ │ └── inherits@1.0.0
│ ├── hooker@0.2.3
│ ├── iconv-lite@0.2.10
│ ├─┬ js-yaml@2.0.5
│ │ ├─┬ argparse@0.1.15
│ │ │ ├── underscore@1.4.4
│ │ │ └── underscore.string@2.3.1
│ │ └── esprima@1.0.3
│ ├── lodash@0.9.2
│ ├─┬ minimatch@0.2.12
│ │ ├── lru-cache@2.3.0
│ │ └── sigmund@1.0.0
│ ├─┬ nopt@1.0.10
│ │ └── abbrev@1.0.4
│ ├─┬ rimraf@2.0.3
│ │ └── graceful-fs@1.1.14
│ ├── underscore.string@2.2.0rc
│ └── which@1.0.5
├─┬ grunt-contrib-compass@0.2.0
│ ├─┬ grunt-lib-contrib@0.5.3
│ │ └── zlib-browserify@0.0.1
│ └── tmp@0.0.16
├─┬ grunt-contrib-jshint@0.5.4
│ └─┬ jshint@2.0.1
│ ├─┬ cli@0.4.4-2
│ │ └─┬ glob@3.2.1
│ │ ├── graceful-fs@1.2.1
│ │ └── inherits@1.0.0
│ ├── console-browserify@0.1.6
│ ├─┬ minimatch@0.2.12
│ │ ├── lru-cache@2.3.0
│ │ └── sigmund@1.0.0
│ ├── shelljs@0.1.4
│ └── underscore@1.4.4
├─┬ grunt-contrib-nodeunit@0.2.0
│ └─┬ nodeunit@0.8.0
│ └─┬ tap@0.4.3
│ ├── buffer-equal@0.0.0
│ ├── deep-equal@0.0.0
│ ├─┬ difflet@0.2.5
│ │ ├── charm@0.0.8
│ │ ├── deep-is@0.1.2
│ │ └── traverse@0.6.3
│ ├─┬ glob@3.2.1
│ │ ├── graceful-fs@1.2.1
│ │ ├── inherits@1.0.0
│ │ └─┬ minimatch@0.2.12
│ │ ├── lru-cache@2.3.0
│ │ └── sigmund@1.0.0
│ ├── inherits@2.0.0
│ ├── mkdirp@0.3.5
│ ├─┬ nopt@2.1.1
│ │ └── abbrev@1.0.4
│ ├─┬ runforcover@0.0.2
│ │ └─┬ bunker@0.1.2
│ │ └─┬ burrito@0.2.12
│ │ ├── traverse@0.5.2
│ │ └── uglify-js@1.1.1
│ ├── slide@1.1.4
│ └── yamlish@0.0.5
└─┬ grunt-contrib-watch@0.4.4
├─┬ gaze@0.3.4
│ ├─┬ fileset@0.1.5
│ │ └─┬ glob@3.2.1
│ │ ├── graceful-fs@1.2.1
│ │ └── inherits@1.0.0
│ └─┬ minimatch@0.2.12
│ ├── lru-cache@2.3.0
│ └── sigmund@1.0.0
└─┬ tiny-lr@0.0.4
├── debug@0.7.2
├── faye-websocket@0.4.4
├─┬ noptify@0.0.3
│ └─┬ nopt@2.0.0
│ └── abbrev@1.0.4
└── qs@0.5.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment