mercredi 4 mars 2015

rails server shutting down immediatly after booting because of browserify

so my rails server is shutting down right after i start it. I have tried reinstalling browser but it is still giving me the same error. Thanks in advance for helping me out!


=> Booting WEBrick => Rails 4.1.7 application starting in development on http://0.0.0.0:3000 => Run rails server -h for more startup options => Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option) => Ctrl-C to shutdown server Exiting /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/browserify-rails-0.7.4/lib/browserify-rails/browserify_processor.rb:56:in ensure_commands_exist!': Unable to run node_modules/.bin/browserifyinc. Ensure you have installed it with npm. (BrowserifyRails::BrowserifyError) (in /Users/kevinyangfixed/GA/rails/fourleaf/fourleafapp/app/assets/javascripts/components.js) from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/browserify-rails-0.7.4/lib/browserify-rails/browserify_processor.rb:9:inprepare' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/tilt-1.4.1/lib/tilt/template.rb:79:in initialize' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/context.rb:196:innew' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/context.rb:196:in block in evaluate' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/context.rb:194:ineach' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/context.rb:194:in evaluate' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/processed_asset.rb:12:ininitialize' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:374:in new' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:374:inblock in build_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:395:in circular_call_protection' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:373:inbuild_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:94:in block in build_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/caching.rb:58:incache_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:93:in build_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:287:infind_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:61:in find_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/bundled_asset.rb:16:ininitialize' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:377:in new' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:377:inbuild_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:94:in block in build_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/caching.rb:58:incache_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:93:in build_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:287:infind_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/index.rb:61:in find_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/environment.rb:75:infind_asset' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sprockets-2.12.3/lib/sprockets/base.rb:295:in []' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/react-rails-ac4320eb183b/lib/react/rails/railtie.rb:70:inblock (3 levels) in ' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/react-rails-ac4320eb183b/lib/react/rails/railtie.rb:69:in map' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/react-rails-ac4320eb183b/lib/react/rails/railtie.rb:69:inblock (2 levels) in ' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/react-rails-ac4320eb183b/lib/react/renderer.rb:73:in call' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/react-rails-ac4320eb183b/lib/react/renderer.rb:73:insetup_combined_js' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/react-rails-ac4320eb183b/lib/react/renderer.rb:78:in reset_combined_js!' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/react-rails-ac4320eb183b/lib/react/renderer.rb:20:insetup!' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/react-rails-ac4320eb183b/lib/react/rails/railtie.rb:76:in block (2 levels) in <class:Railtie>' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/react-rails-ac4320eb183b/lib/react/rails/railtie.rb:80:incall' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/react-rails-ac4320eb183b/lib/react/rails/railtie.rb:80:in block in <class:Railtie>' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/lazy_load_hooks.rb:36:incall' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/lazy_load_hooks.rb:36:in execute_hook' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/lazy_load_hooks.rb:45:inblock in run_load_hooks' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/lazy_load_hooks.rb:44:in each' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/lazy_load_hooks.rb:44:inrun_load_hooks' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/application/finisher.rb:64:in block in <module:Finisher>' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:30:ininstance_exec' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:30:in run' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:55:inblock in run_initializers' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/2.1.0/tsort.rb:226:in block in tsort_each' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/2.1.0/tsort.rb:348:inblock (2 levels) in each_strongly_connected_component' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/2.1.0/tsort.rb:427:in each_strongly_connected_component_from' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/2.1.0/tsort.rb:347:inblock in each_strongly_connected_component' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/2.1.0/tsort.rb:345:in each' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/2.1.0/tsort.rb:345:incall' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/2.1.0/tsort.rb:345:in each_strongly_connected_component' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/2.1.0/tsort.rb:224:intsort_each' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/2.1.0/tsort.rb:205:in tsort_each' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:54:inrun_initializers' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/application.rb:300:in initialize!' from /Users/kevinyangfixed/GA/rails/fourleaf/fourleafapp/config/environment.rb:5:in' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:247:in require' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:247:inblock in require' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:232:in load_dependency' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:247:inrequire' from /Users/kevinyangfixed/GA/rails/fourleaf/fourleafapp/config.ru:3:in block in <main>' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:55:ininstance_eval' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in initialize' from /Users/kevinyangfixed/GA/rails/fourleaf/fourleafapp/config.ru:innew' from /Users/kevinyangfixed/GA/rails/fourleaf/fourleafapp/config.ru:in <main>' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:49:ineval' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in new_from_string' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:40:inparse_file' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:277:in build_app_and_options_from_config' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:199:inapp' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/server.rb:50:in app' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:314:inwrapped_app' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/server.rb:130:in log_to_stdout' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/server.rb:67:instart' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:81:in block in server' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:76:intap' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:76:in server' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:40:inrun_command!' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands.rb:17:in <top (required)>' from /Users/kevinyangfixed/GA/rails/fourleaf/fourleafapp/bin/rails:8:inrequire' from /Users/kevinyangfixed/GA/rails/fourleaf/fourleafapp/bin/rails:8:in <top (required)>' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/spring-1.2.0/lib/spring/client/rails.rb:27:inload' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/spring-1.2.0/lib/spring/client/rails.rb:27:in call' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/spring-1.2.0/lib/spring/client/command.rb:7:incall' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/spring-1.2.0/lib/spring/client.rb:26:in run' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/spring-1.2.0/bin/spring:48:in' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/spring-1.2.0/lib/spring/binstub.rb:11:in load' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/spring-1.2.0/lib/spring/binstub.rb:11:in' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in require' from /Users/kevinyangfixed/.rbenv/versions/2.1.2/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from /Users/kevinyangfixed/GA/rails/fourleaf/fourleafapp/bin/spring:16:in <top (required)>' from bin/rails:3:inload' from bin/rails:3:in `'


Aucun commentaire:

Enregistrer un commentaire