Menu icon Foundation
Issues building new project with Grunt and Libsass

I am fairly new to using grunt and sass, but I was able to get everything up and running as of last week. Last night I tried building a project. It gave me the following error (code below). Then when I try to do the grunt build in the proper directory, it gives me another error. I've spent way too long trying to figure this out. Can anyone help me out?

Installing dependencies with bower...
/Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/foundation-1.0.4/lib/foundation/cli/generator.rb:131:in `initialize': No such file or directory @ rb_sysopen - scss/_settings.scss (Errno::ENOENT)
    from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/foundation-1.0.4/lib/foundation/cli/generator.rb:131:in `open'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/foundation-1.0.4/lib/foundation/cli/generator.rb:131:in `block in new'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/actions.rb:184:in `block in inside'
	from /Users/brianplatter/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:125:in `chdir'
	from /Users/brianplatter/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:125:in `cd'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/actions.rb:184:in `inside'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/foundation-1.0.4/lib/foundation/cli/generator.rb:128:in `new'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/foundation-1.0.4/bin/foundation:4:in `<top (required)>'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/bin/foundation:23:in `load'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/bin/foundation:23:in `<main>'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `eval'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in`<main>'
            


// grunt build error

>> Local Npm module "grunt-sass" not found. Is it installed?
>> Local Npm module "grunt-contrib-watch" not found. Is it installed?
>> Local Npm module "grunt-contrib-copy" not found. Is it installed?
>> Local Npm module "grunt-contrib-clean" not found. Is it installed?
>> Local Npm module "grunt-contrib-uglify" not found. Is it installed?
>> Local Npm module "assemble" not found. Is it installed?
>> Local Npm module "grunt-newer" not found. Is it installed?
Warning: Task "clean" not found. Use --force to continue.

Aborted due to warnings.

Gruntlibsassissues

I am fairly new to using grunt and sass, but I was able to get everything up and running as of last week. Last night I tried building a project. It gave me the following error (code below). Then when I try to do the grunt build in the proper directory, it gives me another error. I've spent way too long trying to figure this out. Can anyone help me out?

Installing dependencies with bower...
/Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/foundation-1.0.4/lib/foundation/cli/generator.rb:131:in `initialize': No such file or directory @ rb_sysopen - scss/_settings.scss (Errno::ENOENT)
    from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/foundation-1.0.4/lib/foundation/cli/generator.rb:131:in `open'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/foundation-1.0.4/lib/foundation/cli/generator.rb:131:in `block in new'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/actions.rb:184:in `block in inside'
	from /Users/brianplatter/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:125:in `chdir'
	from /Users/brianplatter/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:125:in `cd'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/actions.rb:184:in `inside'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/foundation-1.0.4/lib/foundation/cli/generator.rb:128:in `new'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/gems/foundation-1.0.4/bin/foundation:4:in `<top (required)>'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/bin/foundation:23:in `load'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/bin/foundation:23:in `<main>'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `eval'
	from /Users/brianplatter/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in`<main>'
            


// grunt build error

>> Local Npm module "grunt-sass" not found. Is it installed?
>> Local Npm module "grunt-contrib-watch" not found. Is it installed?
>> Local Npm module "grunt-contrib-copy" not found. Is it installed?
>> Local Npm module "grunt-contrib-clean" not found. Is it installed?
>> Local Npm module "grunt-contrib-uglify" not found. Is it installed?
>> Local Npm module "assemble" not found. Is it installed?
>> Local Npm module "grunt-newer" not found. Is it installed?
Warning: Task "clean" not found. Use --force to continue.

Aborted due to warnings.
Richie Pearce about 5 years ago

I am also having this issue. Although on Ruby version 2.0.0

Installing dependencies with bower...
/Library/Ruby/Gems/2.0.0/gems/foundation-1.0.4/lib/foundation/cli/generator.rb:131:in `initialize': No such file or directory - scss/_settings.scss (Errno::ENOENT)
  from /Library/Ruby/Gems/2.0.0/gems/foundation-1.0.4/lib/foundation/cli/generator.rb:131:in `open'
  from /Library/Ruby/Gems/2.0.0/gems/foundation-1.0.4/lib/foundation/cli/generator.rb:131:in `block in new'
  from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/actions.rb:184:in `block in inside'
  from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:125:in `chdir'
  from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:125:in `cd'
  from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/actions.rb:184:in `inside'
  from /Library/Ruby/Gems/2.0.0/gems/foundation-1.0.4/lib/foundation/cli/generator.rb:128:in `new'
  from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
  from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
  from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
  from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
  from /Library/Ruby/Gems/2.0.0/gems/foundation-1.0.4/bin/foundation:4:in `<top (required)>'
  from /usr/bin/foundation:23:in `load'
  from /usr/bin/foundation:23:in `<main>'

Tom Hogan about 5 years ago

I'm pretty new to the whole grunt and libsass thing but managed to get it all working. I put together a "How-to" that may be helpful.

http://foundation.zurb.com/forum/posts/11597-how-to-install-grunt-and-libsass-on-windows

Let me know if it helps!

Richie Pearce about 5 years ago

Zurb have fixed this issue, please try again!

Brian Platter about 5 years ago

Great! Thank you so much!