{"action":"created","issue":{"url":"https://api.github.com/repos/yeoman/generator-angular/issues/1172","labels_url":"https://api.github.com/repos/yeoman/generator-angular/issues/1172/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/generator-angular/issues/1172/comments","events_url":"https://api.github.com/repos/yeoman/generator-angular/issues/1172/events","html_url":"https://github.com/yeoman/generator-angular/issues/1172","id":103592675,"number":1172,"title":"Freshly generated project fails to build - Compass","user":{"login":"devinsba","id":139938,"avatar_url":"https://avatars.githubusercontent.com/u/139938?v=3","gravatar_id":"","url":"https://api.github.com/users/devinsba","html_url":"https://github.com/devinsba","followers_url":"https://api.github.com/users/devinsba/followers","following_url":"https://api.github.com/users/devinsba/following{/other_user}","gists_url":"https://api.github.com/users/devinsba/gists{/gist_id}","starred_url":"https://api.github.com/users/devinsba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devinsba/subscriptions","organizations_url":"https://api.github.com/users/devinsba/orgs","repos_url":"https://api.github.com/users/devinsba/repos","events_url":"https://api.github.com/users/devinsba/events{/privacy}","received_events_url":"https://api.github.com/users/devinsba/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-27T20:51:12Z","updated_at":"2015-08-28T12:12:39Z","closed_at":null,"body":"```\r\n% grunt build\r\n....\r\n        Warning: Running \"compass:dist\" (compass) task\r\n    Error: invalid option: --import-path=./bower_components\r\n\r\n    Usage: compass compile [path/to/project] [path/to/project/src/file.sass ...] [options]\r\n```\r\n\r\n```\r\n% yo --version && echo $PATH $NODE_PATH && node -e 'console.log(process.platform, process.versions)' && cat Gruntfile.js\r\n1.4.7\r\n/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin\r\ndarwin { http_parser: '2.3',\r\n  node: '0.12.5',\r\n  v8: '3.28.71.19',\r\n  uv: '1.6.1',\r\n  zlib: '1.2.8',\r\n  modules: '14',\r\n  openssl: '1.0.1o' }\r\n// Generated on 2015-08-27 using generator-angular 0.12.1\r\n'use strict';\r\n\r\n// # Globbing\r\n// for performance reasons we're only matching one level down:\r\n// 'test/spec/{,*/}*.js'\r\n// use this if you want to recursively match all subfolders:\r\n// 'test/spec/**/*.js'\r\n\r\nmodule.exports = function (grunt) {\r\n\r\n  // Time how long tasks take. Can help when optimizing build times\r\n  require('time-grunt')(grunt);\r\n\r\n  // Automatically load required Grunt tasks\r\n  require('jit-grunt')(grunt, {\r\n    useminPrepare: 'grunt-usemin',\r\n    ngtemplates: 'grunt-angular-templates',\r\n    cdnify: 'grunt-google-cdn'\r\n  });\r\n\r\n  // Configurable paths for the application\r\n  var appConfig = {\r\n    app: require('./bower.json').appPath || 'app',\r\n    dist: 'dist'\r\n  };\r\n\r\n  // Define the configuration for all the tasks\r\n  grunt.initConfig({\r\n\r\n    // Project settings\r\n    yeoman: appConfig,\r\n\r\n    // Watches files for changes and runs tasks based on the changed files\r\n    watch: {\r\n      bower: {\r\n        files: ['bower.json'],\r\n        tasks: ['wiredep']\r\n      },\r\n      js: {\r\n        files: ['<%= yeoman.app %>/scripts/{,*/}*.js'],\r\n        tasks: ['newer:jshint:all'],\r\n        options: {\r\n          livereload: '<%= connect.options.livereload %>'\r\n        }\r\n      },\r\n      jsTest: {\r\n        files: ['test/spec/{,*/}*.js'],\r\n        tasks: ['newer:jshint:test', 'karma']\r\n      },\r\n      compass: {\r\n        files: ['<%= yeoman.app %>/styles/{,*/}*.{scss,sass}'],\r\n        tasks: ['compass:server', 'autoprefixer:server']\r\n      },\r\n      gruntfile: {\r\n        files: ['Gruntfile.js']\r\n      },\r\n      livereload: {\r\n        options: {\r\n          livereload: '<%= connect.options.livereload %>'\r\n        },\r\n        files: [\r\n          '<%= yeoman.app %>/{,*/}*.html',\r\n          '.tmp/styles/{,*/}*.css',\r\n          '<%= yeoman.app %>/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}'\r\n        ]\r\n      }\r\n    },\r\n\r\n    // The actual grunt server settings\r\n    connect: {\r\n      options: {\r\n        port: 9000,\r\n        // Change this to '0.0.0.0' to access the server from outside.\r\n        hostname: 'localhost',\r\n        livereload: 35729\r\n      },\r\n      livereload: {\r\n        options: {\r\n          open: true,\r\n          middleware: function (connect) {\r\n            return [\r\n              connect.static('.tmp'),\r\n              connect().use(\r\n                '/bower_components',\r\n                connect.static('./bower_components')\r\n              ),\r\n              connect().use(\r\n                '/app/styles',\r\n                connect.static('./app/styles')\r\n              ),\r\n              connect.static(appConfig.app)\r\n            ];\r\n          }\r\n        }\r\n      },\r\n      test: {\r\n        options: {\r\n          port: 9001,\r\n          middleware: function (connect) {\r\n            return [\r\n              connect.static('.tmp'),\r\n              connect.static('test'),\r\n              connect().use(\r\n                '/bower_components',\r\n                connect.static('./bower_components')\r\n              ),\r\n              connect.static(appConfig.app)\r\n            ];\r\n          }\r\n        }\r\n      },\r\n      dist: {\r\n        options: {\r\n          open: true,\r\n          base: '<%= yeoman.dist %>'\r\n        }\r\n      }\r\n    },\r\n\r\n    // Make sure code styles are up to par and there are no obvious mistakes\r\n    jshint: {\r\n      options: {\r\n        jshintrc: '.jshintrc',\r\n        reporter: require('jshint-stylish')\r\n      },\r\n      all: {\r\n        src: [\r\n          'Gruntfile.js',\r\n          '<%= yeoman.app %>/scripts/{,*/}*.js'\r\n        ]\r\n      },\r\n      test: {\r\n        options: {\r\n          jshintrc: 'test/.jshintrc'\r\n        },\r\n        src: ['test/spec/{,*/}*.js']\r\n      }\r\n    },\r\n\r\n    // Empties folders to start fresh\r\n    clean: {\r\n      dist: {\r\n        files: [{\r\n          dot: true,\r\n          src: [\r\n            '.tmp',\r\n            '<%= yeoman.dist %>/{,*/}*',\r\n            '!<%= yeoman.dist %>/.git{,*/}*'\r\n          ]\r\n        }]\r\n      },\r\n      server: '.tmp'\r\n    },\r\n\r\n    // Add vendor prefixed styles\r\n    autoprefixer: {\r\n      options: {\r\n        browsers: ['last 1 version']\r\n      },\r\n      server: {\r\n        options: {\r\n          map: true,\r\n        },\r\n        files: [{\r\n          expand: true,\r\n          cwd: '.tmp/styles/',\r\n          src: '{,*/}*.css',\r\n          dest: '.tmp/styles/'\r\n        }]\r\n      },\r\n      dist: {\r\n        files: [{\r\n          expand: true,\r\n          cwd: '.tmp/styles/',\r\n          src: '{,*/}*.css',\r\n          dest: '.tmp/styles/'\r\n        }]\r\n      }\r\n    },\r\n\r\n    // Automatically inject Bower components into the app\r\n    wiredep: {\r\n      app: {\r\n        src: ['<%= yeoman.app %>/index.html'],\r\n        ignorePath:  /\\.\\.\\//\r\n      },\r\n      test: {\r\n        devDependencies: true,\r\n        src: '<%= karma.unit.configFile %>',\r\n        ignorePath:  /\\.\\.\\//,\r\n        fileTypes:{\r\n          js: {\r\n            block: /(([\\s\\t]*)\\/{2}\\s*?bower:\\s*?(\\S*))(\\n|\\r|.)*?(\\/{2}\\s*endbower)/gi,\r\n              detect: {\r\n                js: /'(.*\\.js)'/gi\r\n              },\r\n              replace: {\r\n                js: '\\'{{filePath}}\\','\r\n              }\r\n            }\r\n          }\r\n      },\r\n      sass: {\r\n        src: ['<%= yeoman.app %>/styles/{,*/}*.{scss,sass}'],\r\n        ignorePath: /(\\.\\.\\/){1,2}bower_components\\//\r\n      }\r\n    },\r\n\r\n    // Compiles Sass to CSS and generates necessary files if requested\r\n    compass: {\r\n      options: {\r\n        sassDir: '<%= yeoman.app %>/styles',\r\n        cssDir: '.tmp/styles',\r\n        generatedImagesDir: '.tmp/images/generated',\r\n        imagesDir: '<%= yeoman.app %>/images',\r\n        javascriptsDir: '<%= yeoman.app %>/scripts',\r\n        fontsDir: '<%= yeoman.app %>/styles/fonts',\r\n        importPath: './bower_components',\r\n        httpImagesPath: '/images',\r\n        httpGeneratedImagesPath: '/images/generated',\r\n        httpFontsPath: '/styles/fonts',\r\n        relativeAssets: false,\r\n        assetCacheBuster: false,\r\n        raw: 'Sass::Script::Number.precision = 10\\n'\r\n      },\r\n      dist: {\r\n        options: {\r\n          generatedImagesDir: '<%= yeoman.dist %>/images/generated'\r\n        }\r\n      },\r\n      server: {\r\n        options: {\r\n          sourcemap: true\r\n        }\r\n      }\r\n    },\r\n\r\n    // Renames files for browser caching purposes\r\n    filerev: {\r\n      dist: {\r\n        src: [\r\n          '<%= yeoman.dist %>/scripts/{,*/}*.js',\r\n          '<%= yeoman.dist %>/styles/{,*/}*.css',\r\n          '<%= yeoman.dist %>/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}',\r\n          '<%= yeoman.dist %>/styles/fonts/*'\r\n        ]\r\n      }\r\n    },\r\n\r\n    // Reads HTML for usemin blocks to enable smart builds that automatically\r\n    // concat, minify and revision files. Creates configurations in memory so\r\n    // additional tasks can operate on them\r\n    useminPrepare: {\r\n      html: '<%= yeoman.app %>/index.html',\r\n      options: {\r\n        dest: '<%= yeoman.dist %>',\r\n        flow: {\r\n          html: {\r\n            steps: {\r\n              js: ['concat', 'uglifyjs'],\r\n              css: ['cssmin']\r\n            },\r\n            post: {}\r\n          }\r\n        }\r\n      }\r\n    },\r\n\r\n    // Performs rewrites based on filerev and the useminPrepare configuration\r\n    usemin: {\r\n      html: ['<%= yeoman.dist %>/{,*/}*.html'],\r\n      css: ['<%= yeoman.dist %>/styles/{,*/}*.css'],\r\n      js: ['<%= yeoman.dist %>/scripts/{,*/}*.js'],\r\n      options: {\r\n        assetsDirs: [\r\n          '<%= yeoman.dist %>',\r\n          '<%= yeoman.dist %>/images',\r\n          '<%= yeoman.dist %>/styles'\r\n        ],\r\n        patterns: {\r\n          js: [[/(images\\/[^''\"\"]*\\.(png|jpg|jpeg|gif|webp|svg))/g, 'Replacing references to images']]\r\n        }\r\n      }\r\n    },\r\n\r\n    // The following *-min tasks will produce minified files in the dist folder\r\n    // By default, your `index.html`'s <!-- Usemin block --> will take care of\r\n    // minification. These next options are pre-configured if you do not wish\r\n    // to use the Usemin blocks.\r\n    // cssmin: {\r\n    //   dist: {\r\n    //     files: {\r\n    //       '<%= yeoman.dist %>/styles/main.css': [\r\n    //         '.tmp/styles/{,*/}*.css'\r\n    //       ]\r\n    //     }\r\n    //   }\r\n    // },\r\n    // uglify: {\r\n    //   dist: {\r\n    //     files: {\r\n    //       '<%= yeoman.dist %>/scripts/scripts.js': [\r\n    //         '<%= yeoman.dist %>/scripts/scripts.js'\r\n    //       ]\r\n    //     }\r\n    //   }\r\n    // },\r\n    // concat: {\r\n    //   dist: {}\r\n    // },\r\n\r\n    imagemin: {\r\n      dist: {\r\n        files: [{\r\n          expand: true,\r\n          cwd: '<%= yeoman.app %>/images',\r\n          src: '{,*/}*.{png,jpg,jpeg,gif}',\r\n          dest: '<%= yeoman.dist %>/images'\r\n        }]\r\n      }\r\n    },\r\n\r\n    svgmin: {\r\n      dist: {\r\n        files: [{\r\n          expand: true,\r\n          cwd: '<%= yeoman.app %>/images',\r\n          src: '{,*/}*.svg',\r\n          dest: '<%= yeoman.dist %>/images'\r\n        }]\r\n      }\r\n    },\r\n\r\n    htmlmin: {\r\n      dist: {\r\n        options: {\r\n          collapseWhitespace: true,\r\n          conservativeCollapse: true,\r\n          collapseBooleanAttributes: true,\r\n          removeCommentsFromCDATA: true\r\n        },\r\n        files: [{\r\n          expand: true,\r\n          cwd: '<%= yeoman.dist %>',\r\n          src: ['*.html'],\r\n          dest: '<%= yeoman.dist %>'\r\n        }]\r\n      }\r\n    },\r\n\r\n    ngtemplates: {\r\n      dist: {\r\n        options: {\r\n          module: 'testApp',\r\n          htmlmin: '<%= htmlmin.dist.options %>',\r\n          usemin: 'scripts/scripts.js'\r\n        },\r\n        cwd: '<%= yeoman.app %>',\r\n        src: 'views/{,*/}*.html',\r\n        dest: '.tmp/templateCache.js'\r\n      }\r\n    },\r\n\r\n    // ng-annotate tries to make the code safe for minification automatically\r\n    // by using the Angular long form for dependency injection.\r\n    ngAnnotate: {\r\n      dist: {\r\n        files: [{\r\n          expand: true,\r\n          cwd: '.tmp/concat/scripts',\r\n          src: '*.js',\r\n          dest: '.tmp/concat/scripts'\r\n        }]\r\n      }\r\n    },\r\n\r\n    // Replace Google CDN references\r\n    cdnify: {\r\n      dist: {\r\n        html: ['<%= yeoman.dist %>/*.html']\r\n      }\r\n    },\r\n\r\n    // Copies remaining files to places other tasks can use\r\n    copy: {\r\n      dist: {\r\n        files: [{\r\n          expand: true,\r\n          dot: true,\r\n          cwd: '<%= yeoman.app %>',\r\n          dest: '<%= yeoman.dist %>',\r\n          src: [\r\n            '*.{ico,png,txt}',\r\n            '.htaccess',\r\n            '*.html',\r\n            'images/{,*/}*.{webp}',\r\n            'styles/fonts/{,*/}*.*'\r\n          ]\r\n        }, {\r\n          expand: true,\r\n          cwd: '.tmp/images',\r\n          dest: '<%= yeoman.dist %>/images',\r\n          src: ['generated/*']\r\n        }, {\r\n          expand: true,\r\n          cwd: '.',\r\n          src: 'bower_components/bootstrap-sass-official/assets/fonts/bootstrap/*',\r\n          dest: '<%= yeoman.dist %>'\r\n        }]\r\n      },\r\n      styles: {\r\n        expand: true,\r\n        cwd: '<%= yeoman.app %>/styles',\r\n        dest: '.tmp/styles/',\r\n        src: '{,*/}*.css'\r\n      }\r\n    },\r\n\r\n    // Run some tasks in parallel to speed up the build process\r\n    concurrent: {\r\n      server: [\r\n        'compass:server'\r\n      ],\r\n      test: [\r\n        'compass'\r\n      ],\r\n      dist: [\r\n        'compass:dist',\r\n        'imagemin',\r\n        'svgmin'\r\n      ]\r\n    },\r\n\r\n    // Test settings\r\n    karma: {\r\n      unit: {\r\n        configFile: 'test/karma.conf.js',\r\n        singleRun: true\r\n      }\r\n    }\r\n  });\r\n\r\n\r\n  grunt.registerTask('serve', 'Compile then start a connect web server', function (target) {\r\n    if (target === 'dist') {\r\n      return grunt.task.run(['build', 'connect:dist:keepalive']);\r\n    }\r\n\r\n    grunt.task.run([\r\n      'clean:server',\r\n      'wiredep',\r\n      'concurrent:server',\r\n      'autoprefixer:server',\r\n      'connect:livereload',\r\n      'watch'\r\n    ]);\r\n  });\r\n\r\n  grunt.registerTask('server', 'DEPRECATED TASK. Use the \"serve\" task instead', function (target) {\r\n    grunt.log.warn('The `server` task has been deprecated. Use `grunt serve` to start a server.');\r\n    grunt.task.run(['serve:' + target]);\r\n  });\r\n\r\n  grunt.registerTask('test', [\r\n    'clean:server',\r\n    'wiredep',\r\n    'concurrent:test',\r\n    'autoprefixer',\r\n    'connect:test',\r\n    'karma'\r\n  ]);\r\n\r\n  grunt.registerTask('build', [\r\n    'clean:dist',\r\n    'wiredep',\r\n    'useminPrepare',\r\n    'concurrent:dist',\r\n    'autoprefixer',\r\n    'ngtemplates',\r\n    'concat',\r\n    'ngAnnotate',\r\n    'copy:dist',\r\n    'cdnify',\r\n    'cssmin',\r\n    'uglify',\r\n    'filerev',\r\n    'usemin',\r\n    'htmlmin'\r\n  ]);\r\n\r\n  grunt.registerTask('default', [\r\n    'newer:jshint',\r\n    'test',\r\n    'build'\r\n  ]);\r\n};\r\n```"},"comment":{"url":"https://api.github.com/repos/yeoman/generator-angular/issues/comments/135755159","html_url":"https://github.com/yeoman/generator-angular/issues/1172#issuecomment-135755159","issue_url":"https://api.github.com/repos/yeoman/generator-angular/issues/1172","id":135755159,"user":{"login":"alaksandarjesus","id":4712552,"avatar_url":"https://avatars.githubusercontent.com/u/4712552?v=3","gravatar_id":"","url":"https://api.github.com/users/alaksandarjesus","html_url":"https://github.com/alaksandarjesus","followers_url":"https://api.github.com/users/alaksandarjesus/followers","following_url":"https://api.github.com/users/alaksandarjesus/following{/other_user}","gists_url":"https://api.github.com/users/alaksandarjesus/gists{/gist_id}","starred_url":"https://api.github.com/users/alaksandarjesus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alaksandarjesus/subscriptions","organizations_url":"https://api.github.com/users/alaksandarjesus/orgs","repos_url":"https://api.github.com/users/alaksandarjesus/repos","events_url":"https://api.github.com/users/alaksandarjesus/events{/privacy}","received_events_url":"https://api.github.com/users/alaksandarjesus/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T12:12:39Z","updated_at":"2015-08-28T12:12:39Z","body":"Today i installed the yo angular and i too got the same error.\r\nSass 3.4.18 (Selective Steve)\r\nCompass 0.12.3 (Alnilam)\r\n\r\nI work in linux mint 17.1\r\n"}}