Welcome to the Linux Foundation Forum!

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

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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training