0

I am just trying to make a local development environment that isn't on my work computer, and I keep getting an 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/johnpett/Desktop/Node/app/bower_components Run with --trace to see the full backtrace Use --force to continue.

I have installed all the Ruby parts and Yeoman to build the app scaffold, but I can't seem to run the 'grunt server' command without throwing up this error.

4

2 回答 2

0

当时肯定没有调用您的文件夹bower_components。我猜你用过约曼。在您的指南针任务配置中,您应该已修改bower_components.

于 2013-12-14T15:56:35.130 回答
0

错误很明显,grunt-plugin 需要该文件... /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb 无论如何,如果您通常需要 ruby​​ 组件打算用compass,如果没有,可以在Gruntfile.js的“server”任务中注释掉“compass”子任务

于 2013-07-21T15:25:27.660 回答