yeoman / generator-angular

Yeoman generator for AngularJS
http://yeoman.io
5.73k stars 1.44k forks source link

Grunt server is throws a Compass error on start up #82

Closed conor closed 11 years ago

conor commented 11 years ago
Errno::ENOENT on line ["33"] of /Users/doc/.rvm/gems/ruby-1.9.3-p385/gems/compass-0.12.2/lib/compass/exec/global_options_parser.rb: No such file or directory - /components

The server continues to run but it opens a page with the following response - "Cannot GET /"

When running npm install after generating the app the following shows up:

> ws@0.4.25 install /Users/doc/Projects/chronogolf/range/node_modules/gruntacular/node_modules/testacular/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

I am choosing no for all of the options in the generator, and it is working well for the basic yo webapp generator. So I guess it is related to the angular generator.

btford commented 11 years ago

The first issue has been fixed upstream; it'll be released in v0.1.5, which I hope to have out tonight.

The second issue looks like something amiss on your system. I don't really have any advice for you there. I'd check builderror.log and report back to the authors of ws or socket.io-client.

conor commented 11 years ago

@btford Cheers dude. I'll take a look at the other issue. Thanks for the quick reply and great work!

ghost commented 11 years ago

Hi guys, is this fixed, I still have problem.

robwalch commented 11 years ago

same here:

Running "compass:dist" (compass) task

Errno::ENOENT on line ["33"] of /Users/~/.rvm/gems/ruby-2.0.0-p0/gems/compass-0.12.2/lib/compass/exec/global_options_parser.rb: No such file or directory - /Users/~/dev/google/benchmarks/app/components

Should import path be set to app/components?

        compass: {
            options: {
                sassDir: '<%= yeoman.app %>/styles',
                cssDir: '.tmp/styles',
                imagesDir: '<%= yeoman.app %>/images',
                javascriptsDir: '<%= yeoman.app %>/scripts',
                fontsDir: '<%= yeoman.app %>/styles/fonts',
                importPath: 'app/components',
YoungElPaso commented 11 years ago

@robwalch doing what you suggested for importPath worked for me, thanks man.