-
Notifications
You must be signed in to change notification settings - Fork 100
Error after updating chefDK #316
Comments
Had the same problem this morning. Downgrading to chefdk 1.2.20 (containing berks 5.5) fixed it for now. |
Same here, Downgrading to chefdk 1.2.20. Now it's fine |
Same issue here, downgrading(1.2.20) did it. |
I un installed and reinstalled the older version.
- Gregory Bonk
… On Feb 9, 2017, at 6:41 AM, CarlGran ***@***.***> wrote:
Same issue here, what is the best way to downgrade chefdk?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I ran into this today. It looks to be caused by new warnings outputted during the version check. This hits JSON.parse And then raises the version error Then it doesn't output the version in the error message |
Same issue. Agree with @colinpetruno . Downgrade worked.
|
This is caused by a problem with the version of Hashie included in the Berkshelf within the latest ChefDK: berkshelf/berkshelf#1669 You can do a workaround on ChefDK by patching Berkshelf with https://github.com/berkshelf/berkshelf/pull/1668/files |
ChefDK Workaround
gem "berkshelf", "= 5.6.3"
spec = Gem::Specification.find_by_name("berkshelf", "= 5.6.3") |
So @bdwyertech’s solution eventually worked, but it involves not having the gem bin of |
@bdwyertech worked for me and i can now use 1.2.22 Directions for Git Bash on windows
|
I have not found a matching issue on here like I am having at the moment.. Note the version is dot
I just uninstalled ChefDk 1.1.6 and installed 1.2.22
I'm running this from a Git-Bash shell on windows.
I downloaded the Windows 2012r2 x86_64 but I'm on Windows 7 Enterprise
$ vagrant plugin list
vagrant-berkshelf (5.1.1)
vagrant-share (1.1.6)
vagrant-vbguest (0.13.0)
$ vagrant --version
Vagrant 1.9.1
$ which berks
/c/opscode/chefdk/bin/berks
$ chef --version
Chef Development Kit Version: 1.2.22
chef-client version: 12.18.31
delivery version: master (0b746cafed65a9ea1a79de3cc546e7922de9187c)
berks version: 2017-02-06T10:59:37.347824 19644] 2017-02-06T10:59:37.347824 19644] 2017-02-06T10:59:37.347824 19644] 2017-02-06T10:59:37.348824 19644] 2017-02-06T10:59:37.426824 19644] 2017-02-06T10:59:37.426824 19644] 5.6.0
kitchen version: 1.15.0
The text was updated successfully, but these errors were encountered: