Welcome to the new Linux Foundation Forum!

LAB 7: jq: error: Could not open file org2_definition.json: No such file or directory

moolkotharimoolkothari Posts: 1
edited October 9 in LFS272 Class Forum

I am getting error running following command:

jq -s '.[0] * {"channel_group":{"groups":{"Application":{"groups":{"Org2MSP":.[1]}}}}}' configBlock.json ./config/org2_definition.json > configChanges.json

jq: error: Could not open file org2_definition.json: No such file or directory

It looks path issue of org2_definition.json file, can somebody help me to fix this issue, I can see org2_definition.json file in /Desktop/fabric-samples/startFiles/config folder. Lab Demo Video also incomplete.

Comments

  • Are you actually sitting in the /Desktop/fabric-samples/startFiles/ directory when running this command? Otherwise, put the fully qualified name:

    jq -s '.[0] * {"channel_group":{"groups":{"Application":{"groups":{"Org2MSP":.[1]}}}}}' configBlock.json /Desktop/fabric-samples/startFiles/config/org2_definition.json > configChanges.json

Sign In or Register to comment.