Skip to content

berks.bat failed with return code: 100 #23

@sngehl01

Description

@sngehl01

I have had a lot of issues with the "Upload Cookbook to Chef Server" task. I am able to successfully update the cookbook version # in the environment, but I cannot upload the cookbook. I get the following error in VSTS :

  • CD to cookbook directory: d:_work\r1\a/_demo
  • [command]C:\Windows\system32\cmd.exe /D /S /C "c:\opscode\chefdk\bin\berks.bat install"
  • No Berksfile or Berksfile.lock found at 'd:/_work/r1/a/_demo'!
  • ##[error]c:\opscode\chefdk\bin\berks.bat failed with return code: 100

Googling error codes hasn't gotten me far. I get the same error when I try to remote into the machine and run the berks.bat install command (No Berksfile of Berksfile.lock found at 'C:/opscode/chefdk/bin'!)

I do have the berkshelf gem here : C:\opscode\chefdk\embedded\lib\ruby\gems\2.5.0\gems\berkshelf-7.0.4

I installed chefdk 3.1.0

Any ideas? thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions