Chef-run failed to find local cookbook

I’m trying to run chef run with the following command:

chef-run 192.168.80.119,192.168.80.120,192.168.80.121 --user root --password ***** --sudo_password ***** --cookbook-repo-paths 'c:\chef\cookbooks' vertica::prepare_server

all the cookbooks are in the path but I still get the error:

Caused by: Molinillo::VersionConflict: Unable to satisfy the following requirements:

  • opshared (>= 0.0.0) required by vertica-1.2.0