Ruby on Rails Monday, November 25, 2019

Have you installed "yarn"
brew install yarn  
It worked for me

On Saturday, November 23, 2019 at 6:03:33 PM UTC+6, fugee ohu wrote:
$ rails webpacker:install
rails aborted!
Elasticsearch::Transport::Transport::Errors::BadRequest: [400] {"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: type is missing;2: type is missing;3: type is missing;"}],"type":"action_request_validation_exception","reason":"Validation Failed: 1: type is missing;2: type is missing;3: type is missing;"},"status":400}
/home/fugee/.rvm/gems/ruby-2.6.0/gems/elasticsearch-transport-7.4.0/lib/elasticsearch/transport/transport/base.rb:205:in `__raise_transport_error'
/home/fugee/.rvm/gems/ruby-2.6.0/gems/elasticsearch-transport-7.4.0/lib/elasticsearch/transport/transport/base.rb:333:in `perform_request'
/home/fugee/.rvm/gems/ruby-2.6.0/gems/elasticsearch-transport-7.4.0/lib/elasticsearch/transport/transport/http/faraday.rb:24:in `perform_request'
/home/fugee/.rvm/gems/ruby-2.6.0/gems/elasticsearch-transport-7.4.0/lib/elasticsearch/transport/client.rb:152:in `perform_request'
/home/fugee/.rvm/gems/ruby-2.6.0/gems/elasticsearch-api-7.4.0/lib/elasticsearch/api/actions/bulk.rb:88:in `bulk'

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/fc3f1f79-2232-4f4d-84ce-421bb3a5bd19%40googlegroups.com.

No comments:

Post a Comment