Chef Solo Fatal Error when loading .json Configuration

Hey everyone;

So when I run the chef-solo command on my local node it gives back an error when trying to load the run list from node.json.

Here is my solo.rb file:

file_cache_path   "/etc/chef"
cookbook_path     "/root/chef-repo/cookbooks"
role_path         "/root/chef-repo/roles"
data_bag_path     "/root/chef-repo/data_bags"
node_path         "/root/chef-repo/node.json"

And here is my node.json file:

    "run_list": [ "recipe[standard-server]" ]

And here is the error message:

Starting Chef Infra Client, version 15.1.36

[2019-07-24T11:33:32-03:00] ERROR: #<Errno::ENOTDIR: Not a directory @ rb_sysopen - /root/chef-repo/node.json/>

Running handlers:
[2019-07-24T11:33:32-03:00] ERROR: Running exception handlers
Running handlers complete
[2019-07-24T11:33:32-03:00] ERROR: Exception handlers complete
Chef Infra Client failed. 0 resources updated in 07 seconds
[2019-07-24T11:33:32-03:00] FATAL: Stacktrace dumped to /etc/chef/chef-stacktrace.out
[2019-07-24T11:33:32-03:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2019-07-24T11:33:32-03:00] FATAL: Net::HTTPFatalError: 500 "Internal Server Error"

Any help with this is greatly appreciated, thank you.


As error states the node_path parameter should point to the folder and not to some file