hung-phan / generator-rails-angular-require Goto Github PK
View Code? Open in Web Editor NEWFast way to integrate angular.js and require.js with Ruby on Rails project
Home Page: https://github.com/hung-phan/rails-angular-require-template
Fast way to integrate angular.js and require.js with Ruby on Rails project
Home Page: https://github.com/hung-phan/rails-angular-require-template
Hi,
Im trying to run rake assets:precompile but stucked in this error. can you help me debug it?
rake assets:precompile RAILS_ENV=development --trace
** Invoke assets:precompile (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Invoke requirejs:precompile:external (first_time)
** Invoke requirejs:test_node (first_time)
** Execute requirejs:test_node
** Execute requirejs:precompile:external
/usr/local/bin/ruby /usr/local/bin/rake requirejs:precompile:all RAILS_ENV=development RAILS_GROUPS=assets --trace
** Invoke requirejs:precompile:all (first_time)
** Invoke requirejs:precompile:prepare_source (first_time)
** Invoke requirejs:setup (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute requirejs:setup
** Invoke requirejs:clean (first_time)
** Invoke requirejs:setup
** Execute requirejs:clean
** Execute requirejs:precompile:prepare_source
rake aborted!
NoMethodError: undefined method mtime' for nil:NilClass /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/asset.rb:43:in
initialize'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/bundled_asset.rb:14:in initialize' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:377:in
new'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:377:in build_asset' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.rb:94:in
block in build_asset'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/caching.rb:51:in cache_asset' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.rb:93:in
build_asset'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:287:in find_asset' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.rb:61:in
find_asset'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/environment.rb:75:in find_asset' /usr/local/lib/ruby/gems/2.1.0/gems/requirejs-rails-0.9.5/lib/tasks/requirejs-rails_tasks.rake:112:in
block (4 levels) in <top (required)>'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:341:in block in each_logical_path' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:324:in
block (2 levels) in each_file'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:314:in each' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:314:in
each_entry'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:322:in block in each_file' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:321:in
each'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:321:in each_file' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:335:in
each_logical_path'
/usr/local/lib/ruby/gems/2.1.0/gems/requirejs-rails-0.9.5/lib/tasks/requirejs-rails_tasks.rake:105:in block (3 levels) in <top (required)>' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in
call'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in block in execute' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in
each'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in execute' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179:in
block in invoke_with_call_chain'
/usr/local/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in
invoke_with_call_chain'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:201:in block in invoke_prerequisites' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:in
each'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:in invoke_prerequisites' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:178:in
block in invoke_with_call_chain'
/usr/local/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in
invoke_with_call_chain'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165:in invoke' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:150:in
invoke_task'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in block (2 levels) in top_level' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in
each'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in block in top_level' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:115:in
run_with_threads'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:100:in top_level' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:78:in
block in run'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in standard_exception_handling' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75:in
run'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/bin/rake:33:in <top (required)>' /usr/local/bin/rake:23:in
load'
/usr/local/bin/rake:23:in <main>' Tasks: TOP => requirejs:precompile:all => requirejs:precompile:prepare_source rake aborted! Command failed with status (1): [/usr/local/bin/ruby /usr/local/bin/rake re...] /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb:54:in
block in create_shell_runner'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb:45:in call' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb:45:in
sh'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils_ext.rb:37:in sh' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb:82:in
ruby'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils_ext.rb:37:in ruby' /usr/local/lib/ruby/gems/2.1.0/gems/requirejs-rails-0.9.5/lib/tasks/requirejs-rails_tasks.rake:19:in
ruby_rake_task'
/usr/local/lib/ruby/gems/2.1.0/gems/requirejs-rails-0.9.5/lib/tasks/requirejs-rails_tasks.rake:86:in block (3 levels) in <top (required)>' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in
call'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in block in execute' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in
each'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in execute' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179:in
block in invoke_with_call_chain'
/usr/local/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in
invoke_with_call_chain'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:201:in block in invoke_prerequisites' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:in
each'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:in invoke_prerequisites' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:178:in
block in invoke_with_call_chain'
/usr/local/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in
invoke_with_call_chain'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165:in invoke' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:150:in
invoke_task'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in block (2 levels) in top_level' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in
each'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in block in top_level' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:115:in
run_with_threads'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:100:in top_level' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:78:in
block in run'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in standard_exception_handling' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75:in
run'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/bin/rake:33:in <top (required)>' /usr/local/bin/rake:23:in
load'
/usr/local/bin/rake:23:in `
ActionController::RoutingError (No route matches [GET] "/assets/ui-bootstrap-tpls.js"):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.