Getting the following error when try to upload the cookbook

ubuntu@chef:~/.chef$ knife cookbook upload datadog
WARN: Failed to read the private key /home/ubuntu/.chef/spec/config/berkshelf.pem: #<Errno::ENOENT: No such file or directory @ rb_sysopen - /home/ubuntu/.chef/spec/config/berkshelf.pem>
ERROR: Your private key could not be loaded from /home/ubuntu/.chef/spec/config/berkshelf.pem
Check your configuration file and ensure that your private key is readable
ubuntu@chef:~/.chef$

I would check to make sure that path listed (/home/ubuntu/.chef/spec/config/berkshelf.pem) is correct in my (config.rb/knife.rb ) of my chef workstation.

Hi All,

I am getting the following error now.

TypeError: no implicit conversion of nil into String

Please help!

root@chef:/home/ubuntu# sudo knife cookbook site install datadog
Installing datadog to /home/ubuntu
Checking out the master branch.
Pristine copy branch (chef-vendor-datadog) exists, switching to it.
Downloading datadog from Supermarket at version 4.13.0 to /home/ubuntu/datadog.tar.gz
Cookbook saved: /home/ubuntu/datadog.tar.gz
Removing pre-existing version.
Uncompressing datadog version 4.13.0.
Removing downloaded tarball
No changes made to datadog
Checking out the master branch.
Installing chef_handler to /home/ubuntu
Checking out the master branch.
Creating pristine copy branch chef-vendor-chef_handler
ERROR: TypeError: no implicit conversion of nil into String

You got much farther now, so when you try to checkout the handler cookbook seems then you get the issue, based on what I see in the output, something in the local install. I am sorry but it seems like you need someone more familiar with supermarket than myself.

~WRD0000.jpg