Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

I am trying to create sample app using yeoman and backbone but display some error can anyone help me?

I am trying to create sample app using yeoman and backbone but display some error can anyone help me?

Problem

i have alerady install following thing in pcs

  • Node
  • Npm
  • yeoman
  • backbone-generator
  • ruby with saas and compass

But still display following error when run grunt command in command prompt.

C:\Users\Nirav\Desktop\Backbone\NodeWebkit\TestYeoman>grunt build Running "clean:dist" (clean) task Cleaning .tmp...OK

Running "coffee:dist" (coffee) task

Running "coffee:test" (coffee) task

Running "createDefaultTemplate" task

Running "jst:compile" (jst) task

Destination not written because compiled files were empty.

Running "compass:dist" (compass) task C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:135:in require': cannot load such file -- sass/script/node (LoadError) from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:135:in rescue in require' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:144:in require' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches/browser_support.rb:1:in' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches.rb:2:in block in ' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches.rb:1:in each' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches.rb:1:in ' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass/sass_extensions.rb:9:in ' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass.rb:5:in block in ' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass.rb:4:in each' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass.rb:4:in ' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.2/bin/compass:20:in block in ' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.2/bin/compass:8:in fallback_load_path' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.2/bin/compass:19:in ' from C:/Ruby193/bin/compass:23:in load' from C:/Ruby193/bin/compass:23:in' Warning: ↑ Use --force to continue.

Aborted due to warnings.

Execution Time (2014-01-09 18:06:03 UTC) loading tasks 2.8s ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 83% compass:dist 556ms ■■■■■■■■■■■■■■■■■■■■■■■■■■ 16% Total 3.4s

C:\Users\Nirav\Desktop\Backbone\NodeWebkit\TestYeoman>

Can any one help me to solve following error? this is my first experiment for node yeoman and backbone please help me..

Problem courtesy of: Nirav Gandhi

Solution

I had the same problem and got it running.
There is a version conflict with compass and sass both of which are needed by the framework you installed via the yo command.

gem uninstall compass sass

gem install sass compass

Idea stolen from here. Why does "compass watch" say it cannot load sass/script/node (LoadError)?

Solution courtesy of: onekilo79

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

I am trying to create sample app using yeoman and backbone but display some error can anyone help me?

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×