Neil
Neil

Reputation: 2519

Clean Yeoman install results in a Grunt error

I am running grunt server after a clean install of Yeoman, using the Webapp generator and I get the following error:

Warning: Errno::ENOENT on line 441 of /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb: No such file or directory - /Users/nfento/Sites/test/app/bower_components Run with --trace to see the full backtrace Use --force to continue.

Any idea what would be causing this? I have been able to reproduce the error on two machines. I'm completely new to using grunt, but have used it as a server with livereload previously.

Upvotes: 2

Views: 1587

Answers (1)

teone
teone

Reputation: 2183

Maybe is a bit late but:

  • check if you have a app/bower_components folder
  • if not check if there is a bower_components folder in the root
  • if it exists move it in the /app folder
  • create a file .bowerrcand paste this in:

{"directory": "app/bower_components"}

Upvotes: 1

Related Questions