Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rake aborted! Sprockets::FileNotFound: couldn't find file 'term' with type 'application/javascript' #452

Open
YasirAsar opened this issue Dec 11, 2019 · 0 comments

Comments

@YasirAsar
Copy link

Assets precompile not working properly
root@5aec0baa9b95:/myapp# rake assets:precompile --trace
** Invoke assets:precompile (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute assets:precompile
rake aborted!
Sprockets::FileNotFound: couldn't find file 'term' with type 'application/javascript'
Checked in these paths:
/myapp/app/assets/images
/myapp/app/assets/javascripts
/myapp/app/assets/stylesheets
/myapp/vendor/assets/javascripts
/myapp/vendor/assets/stylesheets
/usr/local/bundle/gems/ckeditor-4.2.3/app/assets/images
/usr/local/bundle/gems/ckeditor-4.2.3/app/assets/javascripts
/usr/local/bundle/gems/ckeditor-4.2.3/app/assets/stylesheets
/usr/local/bundle/gems/ckeditor-4.2.3/vendor/assets/javascripts
/usr/local/bundle/gems/activeadmin-1.4.3/app/assets/images
/usr/local/bundle/gems/activeadmin-1.4.3/app/assets/javascripts
/usr/local/bundle/gems/activeadmin-1.4.3/app/assets/stylesheets
/usr/local/bundle/gems/activeadmin-1.4.3/vendor/assets/javascripts
/usr/local/bundle/gems/activeadmin-1.4.3/vendor/assets/stylesheets
/usr/local/bundle/gems/formtastic-3.1.5/app/assets/stylesheets
/usr/local/bundle/gems/bootstrap-multiselect-rails-0.9.9/vendor/assets/javascripts
/usr/local/bundle/gems/bootstrap-multiselect-rails-0.9.9/vendor/assets/stylesheets
/usr/local/bundle/gems/font-awesome-rails-4.3.0.0/app/assets/fonts
/usr/local/bundle/gems/font-awesome-rails-4.3.0.0/app/assets/stylesheets
/usr/local/bundle/gems/remotipart-1.2.0/vendor/assets/javascripts
/usr/local/bundle/gems/web-console-2.0.0/lib/assets/javascripts
/usr/local/bundle/gems/turbolinks-2.5.3/lib/assets/javascripts
/usr/local/bundle/gems/jquery-rails-4.3.5/vendor/assets/javascripts
/usr/local/bundle/gems/coffee-rails-4.1.1/lib/assets/javascripts
/myapp/app/assets/javascripts/application.js:18
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/resolve.rb:65:in resolve!' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:399:in resolve'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:207:in process_require_directive' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:180:in block in process_directives'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:178:in each' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:178:in process_directives'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:83:in _call' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:68:in call'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in call_processor' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in block in call_processors'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in reverse_each' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in call_processors'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in load_from_unloaded' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in block in load'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in fetch_asset_from_dependency_cache' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in load'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in block in initialize' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in load'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/bundle.rb:23:in block in call' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/utils.rb:200:in dfs'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/bundle.rb:24:in call' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in call_processor'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in block in call_processors' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in reverse_each'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in call_processors' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in load_from_unloaded'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in block in load' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in fetch_asset_from_dependency_cache'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in load' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in block in initialize'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in load' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/base.rb:66:in find_asset'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/base.rb:73:in find_all_linked_assets' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:142:in block in find'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:114:in block (2 levels) in logical_paths' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:228:in block in stat_tree'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in block in stat_directory' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in each'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in stat_directory' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in stat_tree'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in each' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in block in logical_paths'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in each' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in logical_paths'
/usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:140:in find' /usr/local/bundle/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:186:in compile'
/usr/local/bundle/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:68:in block (3 levels) in define' /usr/local/bundle/gems/sprockets-3.7.2/lib/rake/sprocketstask.rb:147:in with_logger'
/usr/local/bundle/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:67:in block (2 levels) in define' /usr/local/bundle/gems/rake-13.0.1/lib/rake/task.rb:281:in block in execute'
/usr/local/bundle/gems/rake-13.0.1/lib/rake/task.rb:281:in each' /usr/local/bundle/gems/rake-13.0.1/lib/rake/task.rb:281:in execute'
/usr/local/bundle/gems/rake-13.0.1/lib/rake/task.rb:219:in block in invoke_with_call_chain' /usr/local/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize'
/usr/local/bundle/gems/rake-13.0.1/lib/rake/task.rb:199:in invoke_with_call_chain' /usr/local/bundle/gems/rake-13.0.1/lib/rake/task.rb:188:in invoke'
/usr/local/bundle/gems/rake-13.0.1/lib/rake/application.rb:160:in invoke_task' /usr/local/bundle/gems/rake-13.0.1/lib/rake/application.rb:116:in block (2 levels) in top_level'
/usr/local/bundle/gems/rake-13.0.1/lib/rake/application.rb:116:in each' /usr/local/bundle/gems/rake-13.0.1/lib/rake/application.rb:116:in block in top_level'
/usr/local/bundle/gems/rake-13.0.1/lib/rake/application.rb:125:in run_with_threads' /usr/local/bundle/gems/rake-13.0.1/lib/rake/application.rb:110:in top_level'
/usr/local/bundle/gems/rake-13.0.1/lib/rake/application.rb:83:in block in run' /usr/local/bundle/gems/rake-13.0.1/lib/rake/application.rb:186:in standard_exception_handling'
/usr/local/bundle/gems/rake-13.0.1/lib/rake/application.rb:80:in run' /usr/local/bundle/gems/rake-13.0.1/exe/rake:27:in <top (required)>'
/usr/local/bundle/bin/rake:16:in load' /usr/local/bundle/bin/rake:16:in

'
Tasks: TOP => assets:precompile
root@5aec0baa9b95:/myapp#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant