Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-17419

off_chain_data - Error when run command "node blockEventListener.js"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Done
    • v1.4.4
    • None
    • fabric-samples
    • None
    • (Please add steps to reproduce)

    Description

      In fabric-samples/off_chain_data/, When run command “node blockEventListener.js”  to start the block event listener throws error:

                    continue();

                            ^

       

      SyntaxError: Unexpected token (

          at createScript (vm.js:80:10)

          at Object.runInThisContext (vm.js:139:10)

          at Module._compile (module.js:607:28)

          at Object.Module._extensions..js (module.js:654:10)

          at Module.load (module.js:556:32)

          at tryModuleLoad (module.js:499:12)

          at Function.Module._load (module.js:491:3)

          at Module.require (module.js:587:17)

          at require (internal/module.js:11:18)

          at Object.<anonymous> (/home/fabric-samples/off_chain_data/blockEventListener.js:48:25)

      Attachments

        Activity

          People

            manish1635 Manish Kumar
            manish1635 Manish Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: