Answer the question
In order to leave comments, you need to log in
How to fix vagrant up homestead error?
/opt/vagrant/embedded/lib/ruby/2.3.0/fileutils.rb:254:in `mkdir': Permission denied @ dir_s_mkdir - /Homestead/.vagrant/machines (Errno::EACCES)
from /opt/vagrant/embedded/lib/ruby/2.3.0/fileutils.rb:254:in `fu_mkdir'
from /opt/vagrant/embedded/lib/ruby/2.3.0/fileutils.rb:228:in `block (2 levels) in mkdir_p'
from /opt/vagrant/embedded/lib/ruby/2.3.0/fileutils.rb:226:in `reverse_each'
from /opt/vagrant/embedded/lib/ruby/2.3.0/fileutils.rb:226:in `block in mkdir_p'
from /opt/vagrant/embedded/lib/ruby/2.3.0/fileutils.rb:211:in `each'
from /opt/vagrant/embedded/lib/ruby/2.3.0/fileutils.rb:211:in `mkdir_p'
from /opt/vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/vagrantfile.rb:75:in `machine'
from /opt/vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/environment.rb:733:in `machine'
from /opt/vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/plugin/v2/command.rb:177:in `block in with_target_vms'
from /opt/vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/plugin/v2/command.rb:201:in `block in with_target_vms'
from /opt/vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/plugin/v2/command.rb:183:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/plugin/v2/command.rb:183:in `with_target_vms'
from /opt/vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/up/command.rb:87:in `execute'
from /opt/vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/cli.rb:42:in `execute'
from /opt/vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/environment.rb:308:in `cli'
from /opt/vagrant/embedded/gems/gems/vagrant-1.9.8/bin/vagrant:138:in `<main>'
Answer the question
In order to leave comments, you need to log in
Well, as if the calendar should not store events in itself, but they should be available outside the calendar?
I see that the calendar has onChange={this.onChange}, and then I propose to define this onChange in the parent component, and depending on the date, render the event in a separate other component
componentDidMount, and when the response with the data comes, you write them to the state
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question