PharmaLedger-IMI / epi-workspace

ePI use case main repository
MIT License
5 stars 4 forks source link

Installation issue on MacOS (npm install errors) #2

Closed nhrishi closed 3 years ago

nhrishi commented 3 years ago

Hello,

I am using code repo - "https://github.com/PharmaLedger-IMI/epi-workspace.git" and getting below errors during npm install. Could you pls advice. Thanks.

(base) C02ZK08NNCLX:~ nashihr1$ python --version Python 2.7.16 (base) C02ZK08NNCLX:~ nashihr1$ node --version v15.0.1 (base) C02ZK08NNCLX:~ nashihr1$ node-gyp --version v7.1.2

(base) C02ZK08NNCLX:~ nashihr1$ cd DevWork/epi/ (base) C02ZK08NNCLX:epi nashihr1$ git clone https://github.com/PharmaLedger-IMI/epi-workspace.git Cloning into 'epi-workspace'... remote: Enumerating objects: 107, done. remote: Counting objects: 100% (107/107), done. remote: Compressing objects: 100% (72/72), done. remote: Total 107 (delta 34), reused 87 (delta 21), pack-reused 0 Receiving objects: 100% (107/107), 17.87 KiB | 8.94 MiB/s, done. Resolving deltas: 100% (34/34), done. (base) C02ZK08NNCLX:epi nashihr1$ cd epi-workspace/ (base) C02ZK08NNCLX:epi-workspace nashihr1$ ls LICENSE README.md bin docker env.json octopus.json package.json web-server (base) C02ZK08NNCLX:epi-workspace nashihr1$ npm install

ePI-workspace@1.0.0 postinstall node ./node_modules/octopus/scripts/run

Looking for configuration file at path /Users/nashihr1/DevWork/epi/epi-workspace/octopus.json [Octopus] Start checking dependencies... [Octopus] Found 17 dependencies... [Octopus] Running tasks for: [0] cardinal Running command git clone --depth=1 --branch=master http://github.com/privatesky/cardinal.git "/Users/nashihr1/DevWork/epi/epi-workspace/cardinal" taskIndex: 0 actionIndex: 0 result: "Finished clone action on dependency cardinal" Running command: cd cardinal && npm install

added 11 packages, and audited 11 packages in 4s

found 0 vulnerabilities Running command: cd cardinal && npm run build

cardinal@0.1.2 build stencil build --docs

[03:43.7] @stencil/core [03:43.8] v1.17.3 ⛱ [03:45.2] build, cardinal, prod mode, started ... [03:45.3] transpile started ... [03:49.0] transpile finished in 3.76 s [03:49.0] copy started ... [03:49.0] generate lazy started ... [03:49.4] copy finished (53 files) in 366 ms [04:01.9] generate lazy finished in 12.91 s [04:02.0] updated readme docs: dropdown-renderer [04:02.0] updated readme docs: psk-button-test [04:02.0] updated readme docs: psk-chapter [04:02.0] updated readme docs: psk-chapter-wrapper [04:02.0] updated readme docs: psk-controller-descriptor [04:02.0] updated readme docs: psk-event-descriptor [04:02.0] updated readme docs: psk-label-test [04:02.0] updated readme docs: psk-menu-item-renderer [04:02.0] updated readme docs: psk-property-descriptor [04:02.0] updated readme docs: psk-user-profile [04:02.0] updated readme docs: psk-user-profile-renderer

[ WARN ] Build Warn: ./src/components/form-components/psk-radio/psk-radio.tsx:101:8 Events decorated with @Event() should describe the actual DOM event name, not the handler. In other words "onChangeRadio" would be better named as "changeRadio".

L100:          cancelable: true
L101:      }) onChangeRadio: EventEmitter;
L102:  }

[ WARN ] Build Warn: ./src/components/pages-components/psk-controller-descriptor.tsx:11:13 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L11:      @Prop() title: string = "";

[ WARN ] Build Warn: ./src/components/pages-components/psk-event-descriptor.tsx:10:13 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L10:      @Prop() title: string = "";

[ WARN ] Build Warn: ./src/components/pages-components/psk-property-descriptor.tsx:11:13 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L11:      @Prop() title: string = '';

[ WARN ] Build Warn: ./src/components/psk-accordion/psk-accordion-item/psk-accordion-item.tsx:25:11 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L24:    })
 L25:    @Prop() title: string = '';

[ WARN ] Build Warn: ./src/components/psk-barcode/psk-barcode-generator/psk-barcode-generator.tsx:35:11 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L34:    })
 L35:    @Prop() title: string = "";

[ WARN ] Build Warn: ./src/components/psk-barcode/psk-barcode-scanner/psk-barcode-scanner.tsx:31:11 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L30:  })
 L31:  @Prop() title: string = "";
 L32:  @TableOfContentProperty({

[ WARN ] Build Warn: ./src/components/psk-card/psk-card.tsx:20:24 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L19:  })
 L20:  @Prop({reflect:true}) title: string = "";

[ WARN ] Build Warn: ./src/components/psk-card/psk-card.tsx:29:10 The @Prop() name "id" is a reserved public name. Please rename the "id" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L28:  })
 L29:  @Prop() id: string = "";

[ WARN ] Build Warn: ./src/components/psk-chapter/psk-chapter-wrapper.tsx:9:13 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

  L9:      @Prop() title: string;

[ WARN ] Build Warn: ./src/components/psk-chapter/psk-chapter.tsx:21:27 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L20:  })
 L21:  @Prop({ reflect: true }) title: string = "";

[ WARN ] Build Warn: ./src/components/psk-code/psk-code.tsx:24:11 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L23:    })
 L24:    @Prop() title: string = "";

[ WARN ] Build Warn: ./src/components/psk-copy-clipboard/psk-copy-clipboard.tsx:38:11 The @Prop() name "id" is a reserved public name. Please rename the "id" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L37:    })
 L38:    @Prop() id: string = "";

[ WARN ] Build Warn: ./src/components/psk-description/psk-description.tsx:16:10 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L15:  })
 L16:  @Prop() title: string = "";

[ WARN ] Build Warn: ./src/components/psk-details/psk-details.tsx:27:11 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L26:    })
 L27:    @Prop() title: string = '';

[ WARN ] Build Warn: ./src/components/psk-example/psk-example.tsx:18:10 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L17:  })
 L18:  @Prop() title: string = "";

[ WARN ] Build Warn: ./src/components/psk-highlight/psk-highlight.tsx:19:13 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L18:      })
 L19:      @Prop() title: string = "";

[ WARN ] Build Warn: ./src/components/psk-img/psk-img.tsx:40:10 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L39:  })
 L40:  @Prop() title: string;

[ WARN ] Build Warn: ./src/components/psk-mobile/psk-mobile.tsx:28:11 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L27:    })
 L28:    @Prop() title: string = '';

[ WARN ] Build Warn: ./src/components/psk-page/psk-page.tsx:31:24 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L30:  })
 L31:  @Prop({reflect:true}) title: string = "";
 L32:   @TableOfContentProperty({

[ WARN ] Build Warn: ./src/components/psk-slideshow/psk-slideshow.tsx:27:11 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L26:    })
 L27:    @Prop() title: string;

[ WARN ] Build Warn: ./src/components/psk-switch-button/psk-switch-button.tsx:55:10 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L54:  })
 L55:  @Prop() title: string | null;

[ WARN ] Build Warn: ./src/components/psk-tabs/psk-tab/psk-tab.tsx:22:11 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L21:    })
 L22:    @Prop() title: string;

[ WARN ] Build Warn: ./src/components/psk-toc/psk-toc.tsx:18:13 The @Prop() name "title" is a reserved public name. Please rename the "title" prop so it does not conflict with an existing standardized prototype member. Reusing prop names that are already defined on the element's prototype may cause unexpected runtime errors or user-interface issues on various browsers, so it's best to avoid them entirely.

 L17:  })
 L18:  @Prop() title: string;
 L19:  @State() pskPageElement: HTMLElement;

[04:02.1] build finished in 16.87 s

[Octopus] Running tasks for: [1] privatesky Running command git clone --depth=1 --branch=master http://github.com/privatesky/privatesky.git "/Users/nashihr1/DevWork/epi/epi-workspace/privatesky" taskIndex: 1 actionIndex: 0 result: "Finished clone action on dependency privatesky" Running command: cd privatesky && npm install npm ERR! code 1 npm ERR! path /Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/isolated-vm npm ERR! command failed npm ERR! command sh -c node-gyp rebuild --release -j 4 npm ERR! CXX(target) Release/obj.target/nortti/src/external_copy_nortti.o npm ERR! LIBTOOL-STATIC Release/nortti.a npm ERR! CXX(target) Release/obj.target/isolated_vm/src/isolate/allocator.o npm ERR! CXX(target) Release/obj.target/isolated_vm/src/isolate/class_handle.o npm ERR! CXX(target) Release/obj.target/isolated_vm/src/isolate/environment.o npm ERR! CXX(target) Release/obj.target/isolated_vm/src/isolate/holder.o npm ERR! CXX(target) Release/obj.target/isolated_vm/src/isolate/inspector.o npm ERR! CXX(target) Release/obj.target/isolated_vm/src/isolate/stack_trace.o npm ERR! CXX(target) Release/obj.target/isolated_vm/src/isolate/three_phase_task.o npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@15.0.1 | darwin | x64 npm ERR! gyp info find Python using Python version 3.7.6 found at "/Users/nashihr1/opt/anaconda3/bin/python3" npm ERR! gyp http GET https://nodejs.org/download/release/v15.0.1/node-v15.0.1-headers.tar.gz npm ERR! gyp http 200 https://nodejs.org/download/release/v15.0.1/node-v15.0.1-headers.tar.gz npm ERR! gyp http GET https://nodejs.org/download/release/v15.0.1/SHASUMS256.txt npm ERR! gyp http 200 https://nodejs.org/download/release/v15.0.1/SHASUMS256.txt npm ERR! gyp info spawn /Users/nashihr1/opt/anaconda3/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/isolated-vm/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/nashihr1/Library/Caches/node-gyp/15.0.1/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/nashihr1/Library/Caches/node-gyp/15.0.1', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/nashihr1/Library/Caches/node-gyp/15.0.1/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/isolated-vm', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build', '--jobs', 4 ] npm ERR! In file included from ../src/isolate/environment.cc:4: npm ERR! ../src/isolate/platform_delegate.h:254:69: error: only virtual member functions can be marked 'final' npm ERR! void CallOnForegroundThread(v8::Isolate isolate, v8::Task task) final { npm ERR! ^~ npm ERR! ../src/isolate/platform_delegate.h:273:101: error: only virtual member functions can be marked 'final' npm ERR! void CallDelayedOnForegroundThread(v8::Isolate isolate, v8::Task task, double delay_in_seconds) final { npm ERR! ^~ npm ERR! ../src/isolate/platform_delegate.h:301:77: error: only virtual member functions can be marked 'final' npm ERR! void CallIdleOnForegroundThread(v8::Isolate isolate, v8::IdleTask task) final { npm ERR! ^~ npm ERR! ../src/isolate/platform_delegate.h:89:28: error: variable type 'ivm::PlatformDelegate' is an abstract class npm ERR! static PlatformDelegate delegate(v8::Isolate::GetCurrent(), v8::internal::V8::GetCurrentPlatform()); npm ERR! ^ npm ERR! /Users/nashihr1/Library/Caches/node-gyp/15.0.1/include/node/v8-platform.h:630:38: note: unimplemented pure virtual method 'PostJob' in 'PlatformDelegate' npm ERR! virtual std::unique_ptr PostJob( npm ERR! ^ npm ERR! In file included from ../src/isolate/environment.cc:4: npm ERR! ../src/isolate/platform_delegate.h:256:20: error: no member named 'CallOnForegroundThread' in 'v8::Platform' npm ERR! node_platform->CallOnForegroundThread(isolate, task); npm ERR! ~~~~~ ^ npm ERR! ../src/isolate/platform_delegate.h:275:20: error: no member named 'CallDelayedOnForegroundThread' in 'v8::Platform' npm ERR! node_platform->CallDelayedOnForegroundThread(isolate, task, delay_in_seconds); npm ERR! ~~~~~ ^ npm ERR! ../src/isolate/platform_delegate.h:303:20: error: no member named 'CallIdleOnForegroundThread' in 'v8::Platform' npm ERR! node_platform->CallIdleOnForegroundThread(isolate, task); npm ERR! ~~~~~ ^ npm ERR! 7 errors generated. npm ERR! make: [Release/obj.target/isolated_vm/src/isolate/environment.o] Error 1 npm ERR! make: Waiting for unfinished jobs.... npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: make failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:327:20) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:277:12) npm ERR! gyp ERR! System Darwin 19.6.0 npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release" "-j" "4" npm ERR! gyp ERR! cwd /Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/isolated-vm npm ERR! gyp ERR! node -v v15.0.1 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: npm ERR! /Users/nashihr1/.npm/_logs/2020-10-28T07_34_29_710Z-debug.log [Octopus] Running tasks for: [2] build privatesky Running command: cd privatesky && npm run build

PrivateSky@0.5.0 build node ./bin/scripts/pskbuild.js --projectMap=./builds/domain_build.json && node ./bin/scripts/pskbuild.js --projectMap=./builds/build.json

Found project map ./builds/domain_build.json Reading targets and their dependencies list... Starts rebuilding Building target domain domain done Finished rebuilding Found project map ./builds/build.json Reading targets and their dependencies list... Starts rebuilding Building target webshims Building target pskruntime Building target pskWebServer Building target consoleTools Building target blockchain Building target openDSU Building target sandboxBase Building target edfsBar Building target testsRuntime Building target csbBoot Building target bindableModel Building target swBoot Building target hostBoot Building target ssappBoot Building target threadBoot Building target domainBoot Building target isolatesBoot Building target launcherBoot Building target walletBoot pskruntime done blockchain done edfsBar done consoleTools done sandboxBase done openDSU done isolatesBoot done node:events:304 throw er; // Unhandled 'error' event ^

Error: Can't walk dependency graph: Cannot find module 'swarm-engine/bootScripts/IsolateBootScript' from '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/_fake.js' required by /Users/nashihr1/DevWork/epi/epi-workspace/privatesky/_fake.js at /Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/resolve/lib/async.js:115:35 at processDirs (/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/resolve/lib/async.js:268:39) at isdir (/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/resolve/lib/async.js:275:32) at /Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/resolve/lib/async.js:25:69 at FSReqCallback.oncomplete (node:fs:183:21) Emitted 'error' event on Readable instance at: at Labeled. (/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/read-only-stream/index.js:28:44) at Labeled.emit (node:events:327:20) at Labeled. (/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/stream-splicer/index.js:130:18) at Labeled.emit (node:events:327:20) at Deps. (/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/stream-splicer/index.js:130:18) at Deps.emit (node:events:327:20) at /Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/module-deps/index.js:387:25 at onresolve (/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/module-deps/index.js:185:25) at /Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/index.js:528:22 at /Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browser-resolve/index.js:265:24 { code: 'MODULE_NOT_FOUND', stream: Labeled { _readableState: ReadableState { objectMode: true, highWaterMark: 16, buffer: BufferList { head: null, tail: null, length: 0 }, length: 0, pipes: Labeled { _readableState: ReadableState { objectMode: true, highWaterMark: 16, buffer: BufferList { head: null, tail: null, length: 0 }, length: 0, pipes: Labeled { _readableState: [ReadableState], readable: true, _events: [Object: null prototype], _eventsCount: 8, _maxListeners: undefined, _writableState: [WritableState], writable: true, allowHalfOpen: true, _options: [Object], _wrapOptions: [Object], _streams: [Array], length: 1, label: 'unbom',

      },
      pipesCount: 1,
      flowing: true,
      ended: false,
      endEmitted: false,
      reading: true,
      sync: false,
      needReadable: true,
      emittedReadable: false,
      readableListening: false,
      resumeScheduled: false,
      destroyed: false,
      defaultEncoding: 'utf8',
      awaitDrain: 0,
      readingMore: false,
      decoder: null,
      encoding: null
    },
    readable: true,
    _events: [Object: null prototype] {
      end: [ [Function], [Function], [Function] ],
      finish: [ [Function], [Function] ],
      error: [ [Function: onerror], [Function (anonymous)] ],
      unpipe: [Function: onunpipe],
      drain: [Function (anonymous)],
      close: [Function: bound onceWrapper] {
        listener: [Function: onclose]
      },
      data: [Function: ondata],
      _mutate: [Function: bound onceWrapper] {
        listener: [Function: onreadable]
      }
    },
    _eventsCount: 8,
    _maxListeners: undefined,
    _writableState: WritableState {
      objectMode: true,
      highWaterMark: 16,
      finalCalled: false,
      needDrain: false,
      ending: false,
      ended: false,
      finished: false,
      destroyed: false,
      decodeStrings: true,
      defaultEncoding: 'utf8',
      length: 0,
      writing: false,
      corked: 0,
      sync: true,
      bufferProcessing: false,
      onwrite: [Function (anonymous)],
      writecb: null,
      writelen: 0,
      bufferedRequest: null,
      lastBufferedRequest: null,
      pendingcb: 0,
      prefinished: false,
      errorEmitted: false,
      bufferedRequestCount: 0,
      corkedRequestsFree: CorkedRequest {
        next: null,
        entry: null,
        finish: [Function (anonymous)]
      }
    },
    writable: true,
    allowHalfOpen: true,
    _options: { objectMode: true },
    _wrapOptions: { objectMode: true },
    _streams: [
      DestroyableTransform {
        _readableState: [ReadableState],
        readable: true,
        _events: [Object: null prototype],
        _eventsCount: 4,
        _maxListeners: undefined,
        _writableState: [WritableState],
        writable: true,
        allowHalfOpen: true,
        _transformState: [Object],
        _destroyed: false,
        _transform: [Function (anonymous)],
        [Symbol(kCapture)]: false
      }
    ],
    length: 1,
    label: 'json',
    [Symbol(kCapture)]: false
  },
  pipesCount: 1,
  flowing: true,
  ended: false,
  endEmitted: false,
  reading: true,
  sync: false,
  needReadable: true,
  emittedReadable: false,
  readableListening: false,
  resumeScheduled: false,
  destroyed: false,
  defaultEncoding: 'utf8',
  awaitDrain: 0,
  readingMore: false,
  decoder: null,
  encoding: null
},
readable: true,
_events: [Object: null prototype] {
  end: [
    [Function: bound onceWrapper] { listener: [Function: onend] },
    [Function: bound onceWrapper] {
      listener: [Function (anonymous)]
    },
    [Function: bound onceWrapper] { listener: [Function: onend] }
  ],
  error: [Function (anonymous)],
  data: [Function: ondata],
  _mutate: [Function: bound onceWrapper] { listener: [Function: onreadable] }
},
_eventsCount: 4,
_maxListeners: undefined,
_writableState: WritableState {
  objectMode: true,
  highWaterMark: 16,
  finalCalled: false,
  needDrain: false,
  ending: true,
  ended: true,
  finished: true,
  destroyed: false,
  decodeStrings: true,
  defaultEncoding: 'utf8',
  length: 0,
  writing: false,
  corked: 0,
  sync: false,
  bufferProcessing: false,
  onwrite: [Function (anonymous)],
  writecb: null,
  writelen: 0,
  bufferedRequest: null,
  lastBufferedRequest: null,
  pendingcb: 0,
  prefinished: true,
  errorEmitted: false,
  bufferedRequestCount: 0,
  corkedRequestsFree: CorkedRequest {
    next: null,
    entry: null,
    finish: [Function (anonymous)]
  }
},
writable: false,
allowHalfOpen: true,
_options: { objectMode: true },
_wrapOptions: { objectMode: true },
_streams: [
  Deps {
    _readableState: ReadableState {
      objectMode: true,
      highWaterMark: 16,
      buffer: BufferList { head: null, tail: null, length: 0 },
      length: 0,
      pipes: null,
      pipesCount: 0,
      flowing: null,
      ended: false,
      endEmitted: false,
      reading: false,
      sync: false,
      needReadable: true,
      emittedReadable: false,
      readableListening: true,
      resumeScheduled: false,
      destroyed: false,
      defaultEncoding: 'utf8',
      awaitDrain: 0,
      readingMore: false,
      decoder: null,
      encoding: null
    },
    readable: true,
    _events: [Object: null prototype] {
      end: [ [Function], [Function] ],
      prefinish: [Function: prefinish],
      file: [Function (anonymous)],
      package: [Function (anonymous)],
      transform: [Function (anonymous)],
      error: [Function (anonymous)],
      readable: [Function: bound onceWrapper] {
        listener: [Function: onreadable]
      }
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    _writableState: WritableState {
      objectMode: true,
      highWaterMark: 16,
      finalCalled: false,
      needDrain: false,
      ending: true,
      ended: true,
      finished: true,
      destroyed: false,
      decodeStrings: true,
      defaultEncoding: 'utf8',
      length: 0,
      writing: false,
      corked: 0,
      sync: true,
      bufferProcessing: false,
      onwrite: [Function (anonymous)],
      writecb: null,
      writelen: 0,
      bufferedRequest: null,
      lastBufferedRequest: null,
      pendingcb: 0,
      prefinished: true,
      errorEmitted: false,
      bufferedRequestCount: 0,
      corkedRequestsFree: CorkedRequest {
        next: null,
        entry: null,
        finish: [Function (anonymous)]
      }
    },
    writable: false,
    allowHalfOpen: true,
    _transformState: {
      afterTransform: [Function: bound afterTransform],
      needTransform: true,
      transforming: false,
      writecb: null,
      writechunk: null,
      writeencoding: 'utf8'
    },
    basedir: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky',
    persistentCache: [Function (anonymous)],
    cache: undefined,
    fileCache: undefined,
    pkgCache: {
      '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/builds/tmp/package.json': false,
      '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/builds/package.json': false,
      '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/package.json': {
        name: 'PrivateSky',
        description: 'Execute swarm choregraphies. Control your asynchronous code with explicit flows! Created mainly for simplifying code within SwarmESB/PrivateSky projects but can be used outside SwarmESB ecosystem. ',
        version: '0.5.0',
        _id: 'privatesky@0.5.0',
        homepage: 'https://github.com/PrivateSky/privatesky',
        author: [Object],
        contributors: [Array],
        repository: [Object],
        bugs: [Object],
        directories: [Object],
        main: './engine/core.js',
        license: 'MIT',
        licenses: [Array],
        dependencies: [Object],
        scripts: [Object],
        __dirname: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky'
      },
      '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/builds/tmp/isolatesBoot_intermediar.js': {
        name: 'PrivateSky',
        description: 'Execute swarm choregraphies. Control your asynchronous code with explicit flows! Created mainly for simplifying code within SwarmESB/PrivateSky projects but can be used outside SwarmESB ecosystem. ',
        version: '0.5.0',
        _id: 'privatesky@0.5.0',
        homepage: 'https://github.com/PrivateSky/privatesky',
        author: [Object],
        contributors: [Array],
        repository: [Object],
        bugs: [Object],
        directories: [Object],
        main: './engine/core.js',
        license: 'MIT',
        licenses: [Array],
        dependencies: [Object],
        scripts: [Object],
        __dirname: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky'
      }
    },
    pkgFileCache: {},
    pkgFileCachePending: {},
    _emittedPkg: {},
    _transformDeps: {},
    visited: {},
    walking: {},
    entries: [
      '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/builds/tmp/isolatesBoot_intermediar.js'
    ],
    _input: [
      { row: [Object], pkg: [Object] },
      { row: [Object], pkg: [Object] },
      { row: [Object], pkg: [Object] },
      { row: [Object], pkg: [Object] },
      { row: [Object], pkg: [Object] },
      { row: [Object], pkg: [Object] },
      { row: [Object], pkg: [Object] },
      { row: [Object], pkg: [Object] },
      { row: [Object], pkg: [Object] },
      { row: [Object], pkg: [Object] }
    ],
    paths: [
      '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/modules',
      '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/libraries'
    ],
    transforms: [],
    globalTransforms: [ [ [Function: globalTr], {} ] ],
    resolver: [Function (anonymous)],
    detective: [Function (anonymous)] { find: [Function (anonymous)] },
    options: {
      paths: [
        '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/modules',
        '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/libraries'
      ],
      fullPaths: true,
      bundleExternal: false,
      debug: true,
      externalRequireName: 'isolatesBootRequire',
      autoLoad: true,
      entries: [
        '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/builds/tmp/isolatesBoot_intermediar.js'
      ],
      dedupe: true,
      expose: { 'swarm-engine/bootScripts/IsolateBootScript': undefined },
      extensions: [ '.js', '.json' ],
      transform: [],
      transformKey: [ 'browserify', 'transform' ],
      postFilter: [Function (anonymous)],
      filter: [Function (anonymous)],
      resolve: [Function (anonymous)],
      modules: {
        assert: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/assert/assert.js',
        buffer: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/buffer/index.js',
        child_process: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/lib/_empty.js',
        cluster: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/lib/_empty.js',
        console: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/console-browserify/index.js',
        constants: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/constants-browserify/constants.json',
        crypto: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/crypto-browserify/index.js',
        dgram: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/lib/_empty.js',
        dns: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/lib/_empty.js',
        domain: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/domain-browser/source/index.js',
        events: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/events/events.js',
        fs: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/lib/_empty.js',
        http: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/stream-http/index.js',
        https: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/https-browserify/index.js',
        http2: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/lib/_empty.js',
        inspector: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/lib/_empty.js',
        module: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/lib/_empty.js',
        net: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/lib/_empty.js',
        os: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/os-browserify/browser.js',
        path: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/path-browserify/index.js',
        perf_hooks: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/lib/_empty.js',
        punycode: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/punycode/punycode.js',
        querystring: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/querystring-es3/index.js',
        readline: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/lib/_empty.js',
        repl: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/lib/_empty.js',
        stream: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/stream-browserify/index.js',
        _stream_duplex: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/readable-stream/duplex.js',
        _stream_passthrough: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/readable-stream/passthrough.js',
        _stream_readable: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/readable-stream/readable.js',
        _stream_transform: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/readable-stream/transform.js',
        _stream_writable: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/readable-stream/writable.js',
        string_decoder: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/string_decoder/lib/string_decoder.js',
        sys: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/util/util.js',
        timers: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/timers-browserify/main.js',
        tls: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify/lib/_empty.js',
        tty: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/tty-browserify/index.js',
        url: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/url/url.js',
        util: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/util/util.js',
        vm: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/vm-browserify/index.js',
        zlib: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/browserify-zlib/lib/index.js',
        _process: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/node_modules/process/browser.js',
        'swarm-engine/bootScripts/IsolateBootScript': undefined
      },
      globalTransform: []
    },
    pending: 10,
    inputPending: 10,
    top: {
      id: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/__fake.js',
      filename: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/__fake.js',
      paths: [
        '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/modules',
        '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/libraries'
      ],
      basedir: '/Users/nashihr1/DevWork/epi/epi-workspace/privatesky'
    },
    _ended: true,
    [Symbol(kCapture)]: false
  }
],
length: 1,
label: 'deps',
[Symbol(kCapture)]: false

} } npm ERR! code 1 npm ERR! path /Users/nashihr1/DevWork/epi/epi-workspace/privatesky npm ERR! command failed npm ERR! command sh -c node ./bin/scripts/pskbuild.js --projectMap=./builds/domain_build.json && node ./bin/scripts/pskbuild.js --projectMap=./builds/build.json

npm ERR! A complete log of this run can be found in: npm ERR! /Users/nashihr1/.npm/_logs/2020-10-28T07_34_30_610Z-debug.log [Octopus] Running tasks for: [3] menu-wallet-prototype Running command git clone --depth=1 --branch=master http://github.com/privatesky/menu-wallet-prototype.git "/Users/nashihr1/DevWork/epi/epi-workspace/menu-wallet-prototype" taskIndex: 3 actionIndex: 0 result: "Finished clone action on dependency menu-wallet-prototype" Running command: cd menu-wallet-prototype && npm install

menu-wallet@0.0.1 postinstall node ./node_modules/octopus/scripts/run

Looking for configuration file at path /Users/nashihr1/DevWork/epi/epi-workspace/menu-wallet-prototype/octopus.json [Octopus] Start checking dependencies... [Octopus] Found 0 dependencies... No [object Object] to process!

added 1 package, and audited 1 package in 843ms

found 0 vulnerabilities [Octopus] Running tasks for: [4] leaflet-ssapp Running command git clone --depth=1 --branch=master https://github.com/PharmaLedger-IMI/leaflet-ssapp.git "/Users/nashihr1/DevWork/epi/epi-workspace/leaflet-ssapp" taskIndex: 4 actionIndex: 0 result: "Finished clone action on dependency leaflet-ssapp" Running command: cd leaflet-ssapp && npm install

leaflet-ssapp@1.0.0 postinstall node ./node_modules/octopus/scripts/run

Looking for configuration file at path /Users/nashihr1/DevWork/epi/epi-workspace/leaflet-ssapp/octopus.json [Octopus] Start checking dependencies... [Octopus] Found 0 dependencies... No [object Object] to process!

added 1 package, and audited 1 package in 7s

found 0 vulnerabilities [Octopus] Running tasks for: [5] web-server/leaflet-wallet/loader Running command git clone --depth=1 --branch=master http://github.com/privatesky/web-dossier-loader.git "/Users/nashihr1/DevWork/epi/epi-workspace/web-server/leaflet-wallet/loader" taskIndex: 5 actionIndex: 0 result: "Finished clone action on dependency web-server/leaflet-wallet/loader" Running command: cd web-server/leaflet-wallet/loader && npm install

web-dossier-loader@0.2.0 postinstall node ./node_modules/octopus/scripts/run

Looking for configuration file at path /Users/nashihr1/DevWork/epi/epi-workspace/web-server/leaflet-wallet/loader/octopus.json [Octopus] Start checking dependencies... [Octopus] Found 1 dependencies... [Octopus] Running tasks for: [0] PSK bundles Start copying ../../../privatesky/psknode/bundles/swBoot.js to folder ./swBoot.js

/Users/nashihr1/DevWork/epi/epi-workspace/web-server/leaflet-wallet/loader/node_modules/octopus/scripts/run.js:12 throw err; ^ Source directory or file "/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/psknode/bundles/swBoot.js" does not exists! (Use node --trace-uncaught ... to show where the exception was thrown) npm ERR! code 1 npm ERR! path /Users/nashihr1/DevWork/epi/epi-workspace/web-server/leaflet-wallet/loader npm ERR! command failed npm ERR! command sh -c node ./node_modules/octopus/scripts/run

npm ERR! A complete log of this run can be found in: npm ERR! /Users/nashihr1/.npm/_logs/2020-10-28T07_34_52_072Z-debug.log Start copying web-server/leaflet-wallet/loader/loader-config.local.json-template to folder web-server/leaflet-wallet/loader/loader-config.local.json [Octopus] Running tasks for: [6] themes/citrus-theme Running command git clone --depth=1 --branch=master http://github.com/privatesky/citrus-theme.git "/Users/nashihr1/DevWork/epi/epi-workspace/themes/citrus-theme" taskIndex: 6 actionIndex: 0 result: "Finished clone action on dependency themes/citrus-theme" Running command: cd themes/citrus-theme && npm install

up to date in 180ms

found 0 vulnerabilities [Octopus] Running tasks for: [7] themes/savana-theme Running command git clone --depth=1 --branch=master http://github.com/privatesky/savana-theme.git "/Users/nashihr1/DevWork/epi/epi-workspace/themes/savana-theme" taskIndex: 7 actionIndex: 0 result: "Finished clone action on dependency themes/savana-theme" Running command: cd themes/savana-theme && npm install

up to date in 185ms

found 0 vulnerabilities [Octopus] Running tasks for: [8] themes/clear-sky-theme Running command git clone --depth=1 --branch=master http://github.com/privatesky/clear-sky-theme.git "/Users/nashihr1/DevWork/epi/epi-workspace/themes/clear-sky-theme" taskIndex: 8 actionIndex: 0 result: "Finished clone action on dependency themes/clear-sky-theme" Running command: cd themes/clear-sky-theme && npm install

up to date in 184ms

found 0 vulnerabilities [Octopus] Running tasks for: [9] themes/epi-theme Running command git clone --depth=1 --branch=master https://github.com/PharmaLedger-IMI/epi-theme.git "/Users/nashihr1/DevWork/epi/epi-workspace/themes/epi-theme" taskIndex: 9 actionIndex: 0 result: "Finished clone action on dependency themes/epi-theme" [Octopus] Running tasks for: [10] dossier-explorer-wallet-prototype Running command git clone --depth=1 --branch=master https://github.com/PrivateSky/dossier-explorer-wallet-prototype.git "/Users/nashihr1/DevWork/epi/epi-workspace/dossier-explorer-wallet-prototype" taskIndex: 10 actionIndex: 0 result: "Finished clone action on dependency dossier-explorer-wallet-prototype" Running command: cd dossier-explorer-wallet-prototype && npm install

dossier-explorer@0.2.0 postinstall node ./node_modules/octopus/scripts/run

Looking for configuration file at path /Users/nashihr1/DevWork/epi/epi-workspace/dossier-explorer-wallet-prototype/octopus.json [Octopus] Start checking dependencies... [Octopus] Found 0 dependencies... No [object Object] to process!

added 1 package, and audited 1 package in 4s

found 0 vulnerabilities [Octopus] Running tasks for: [11] web-server/dsu-fabric Running command git clone --depth=1 --branch=master http://github.com/PharmaLedger-IMI/dsu-fabric.git "/Users/nashihr1/DevWork/epi/epi-workspace/web-server/dsu-fabric" taskIndex: 11 actionIndex: 0 result: "Finished clone action on dependency web-server/dsu-fabric" Running command: cd web-server/dsu-fabric && npm install

dsu-fabric@1.0.0 postinstall node ./node_modules/octopus/scripts/run

Looking for configuration file at path /Users/nashihr1/DevWork/epi/epi-workspace/web-server/dsu-fabric/octopus.json [Octopus] Start checking dependencies... [Octopus] Found 3 dependencies... [Octopus] Running tasks for: [0] privatesky Start copying ../../privatesky/psknode/bundles/webshims.js to folder ./scripts/bundles/webshims.js

/Users/nashihr1/DevWork/epi/epi-workspace/web-server/dsu-fabric/node_modules/octopus/scripts/run.js:12 throw err; ^ Source directory or file "/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/psknode/bundles/webshims.js" does not exists! (Use node --trace-uncaught ... to show where the exception was thrown) npm ERR! code 1 npm ERR! path /Users/nashihr1/DevWork/epi/epi-workspace/web-server/dsu-fabric npm ERR! command failed npm ERR! command sh -c node ./node_modules/octopus/scripts/run

npm ERR! A complete log of this run can be found in: npm ERR! /Users/nashihr1/.npm/_logs/2020-10-28T07_35_25_405Z-debug.log [Octopus] Running tasks for: [12] web-server/web-wallet/loader Running command git clone --depth=1 --branch=master https://github.com/PrivateSky/web-dossier-loader.git "/Users/nashihr1/DevWork/epi/epi-workspace/web-server/web-wallet/loader" taskIndex: 12 actionIndex: 0 result: "Finished clone action on dependency web-server/web-wallet/loader" Running command: cd web-server/web-wallet/loader && npm install

web-dossier-loader@0.2.0 postinstall node ./node_modules/octopus/scripts/run

Looking for configuration file at path /Users/nashihr1/DevWork/epi/epi-workspace/web-server/web-wallet/loader/octopus.json [Octopus] Start checking dependencies... [Octopus] Found 1 dependencies... [Octopus] Running tasks for: [0] PSK bundles Start copying ../../../privatesky/psknode/bundles/swBoot.js to folder ./swBoot.js

/Users/nashihr1/DevWork/epi/epi-workspace/web-server/web-wallet/loader/node_modules/octopus/scripts/run.js:12 throw err; ^ Source directory or file "/Users/nashihr1/DevWork/epi/epi-workspace/privatesky/psknode/bundles/swBoot.js" does not exists! (Use node --trace-uncaught ... to show where the exception was thrown) npm ERR! code 1 npm ERR! path /Users/nashihr1/DevWork/epi/epi-workspace/web-server/web-wallet/loader npm ERR! command failed npm ERR! command sh -c node ./node_modules/octopus/scripts/run

npm ERR! A complete log of this run can be found in: npm ERR! /Users/nashihr1/.npm/_logs/2020-10-28T07_35_30_488Z-debug.log [Octopus] Running tasks for: [13] gtin-resolver Running command git clone --depth=1 --branch=master https://github.com/PharmaLedger-IMI/gtin-resolver.git "/Users/nashihr1/DevWork/epi/epi-workspace/gtin-resolver" taskIndex: 13 actionIndex: 0 result: "Finished clone action on dependency gtin-resolver" Running command: cd gtin-resolver && npm install

added 1 package, and audited 1 package in 7s

found 0 vulnerabilities [Octopus] Running tasks for: [14] gtin-dsu-wizard Running command git clone --depth=1 --branch=master https://github.com/PharmaLedger-IMI/gtin-dsu-wizard.git "/Users/nashihr1/DevWork/epi/epi-workspace/gtin-dsu-wizard" taskIndex: 14 actionIndex: 0 result: "Finished clone action on dependency gtin-dsu-wizard" Running command: cd gtin-dsu-wizard && npm install

up to date in 180ms

found 0 vulnerabilities [Octopus] Running tasks for: [15] themes/blue-fluorite-theme Running command git clone --depth=1 --branch=master https://github.com/PrivateSky/blue-fluorite-theme.git "/Users/nashihr1/DevWork/epi/epi-workspace/themes/blue-fluorite-theme" taskIndex: 15 actionIndex: 0 result: "Finished clone action on dependency themes/blue-fluorite-theme" Running command: cd themes/blue-fluorite-theme && npm install

up to date in 184ms

found 0 vulnerabilities [Octopus] Running tasks for: [16] dossier-explorer-ssapp Running command git clone --depth=1 --branch=master https://github.com/PrivateSky/dossier-explorer-ssapp.git "/Users/nashihr1/DevWork/epi/epi-workspace/dossier-explorer-ssapp" taskIndex: 16 actionIndex: 0 result: "Finished clone action on dependency dossier-explorer-ssapp" Running command: cd dossier-explorer-ssapp && npm install

dossier-explorer-ssapp@1.0.0 postinstall node ./node_modules/octopus/scripts/run

Looking for configuration file at path /Users/nashihr1/DevWork/epi/epi-workspace/dossier-explorer-ssapp/octopus.json [Octopus] Start checking dependencies... [Octopus] Found 0 dependencies... No [object Object] to process!

added 1 package, and audited 1 package in 804ms

found 0 vulnerabilities Finishing checking tasks...

added 1 package, and audited 1 package in 2m

found 0 vulnerabilities (base) C02ZK08NNCLX:epi-workspace nashihr1$

From: "Nashikkar, Hrishikesh" hrishikesh.nashikkar@novartis.com Date: Wednesday, 28 October 2020 at 11:35 AM To: "alex.gheorghiu@axiologic.net" alex.gheorghiu@axiologic.net Subject: Re: Open DSU installation error - help needed

Hi Alex,

Could you please have a look when you get a chance.

Thanks,

Hrishikesh

From: "Nashikkar, Hrishikesh" hrishikesh.nashikkar@novartis.com Date: Friday, 23 October 2020 at 5:12 PM To: "alex.gheorghiu@axiologic.net" alex.gheorghiu@axiologic.net Subject: Open DSU installation error - help needed

Dear Alex,

I hope all is well.

I just have a quick question. I am getting below error when I try to do npm install tutorial workspace. Could you please help me. Thanks.


(base) C02ZK08NNCLX:opendsu nashihr1$ git clone https://github.com/PrivateSky/tutorial-workspace.git Cloning into 'tutorial-workspace'... remote: Enumerating objects: 108, done. remote: Counting objects: 100% (108/108), done. remote: Compressing objects: 100% (72/72), done. remote: Total 108 (delta 43), reused 84 (delta 23), pack-reused 0 Receiving objects: 100% (108/108), 18.93 KiB | 2.70 MiB/s, done. Resolving deltas: 100% (43/43), done. (base) C02ZK08NNCLX:opendsu nashihr1$ cd tutorial-workspace/ (base) C02ZK08NNCLX:tutorial-workspace nashihr1$ ls CHANGELOG README.md env.json octopus.json package.json LICENSE bin helloworld-dsu package-lock.json web-server (base) C02ZK08NNCLX:tutorial-workspace nashihr1$ npm install

tutorial-workspace@1.0.0 postinstall /Users/nashihr1/DevWork/opendsu/tutorial-workspace node ./node_modules/octopus/scripts/run

Looking for configuration file at path /Users/nashihr1/DevWork/opendsu/tutorial-workspace/octopus.json [Octopus] Start checking dependencies... [Octopus] Found 7 dependencies... [Octopus] Running tasks for: [0] privatesky Running command git clone --depth=1 --branch=master http://github.com/privatesky/privatesky.git "/Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky" taskIndex: 0 actionIndex: 0 result: "Finished clone action on dependency privatesky" Running command: cd privatesky && npm install

PrivateSky@0.5.0 preinstall /Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky node bin/scripts/preinstall-checks.js

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1

isolated-vm@2.0.3 install /Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/node_modules/isolated-vm node-gyp rebuild --release -j 4

Traceback (most recent call last): File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 50, in sys.exit(gyp.script_main()) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 554, in script_main return main(sys.argv[1:]) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 547, in main return gyp_main(args) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 523, in gyp_main options.duplicate_basename_check) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 139, in Load params['parallel'], params['root_targets']) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2864, in Load SetUpConfigurations(target, target_dict) File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2285, in SetUpConfigurations for configuration in target_dict['configurations'].keys(): RuntimeError: dictionary changed size during iteration gyp ERR! configure error gyp ERR! stack Error: gyp failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:311:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Darwin 19.6.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release" "-j" "4" gyp ERR! cwd /Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/node_modules/isolated-vm gyp ERR! node -v v12.16.1 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! isolated-vm@2.0.3 install: node-gyp rebuild --release -j 4 npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the isolated-vm@2.0.3 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/nashihr1/.npm/_logs/2020-10-23T11_39_22_202Z-debug.log Running command: cd privatesky && npm run build

PrivateSky@0.5.0 build /Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky node ./bin/scripts/pskbuild.js --projectMap=./builds/domain_build.json && node ./bin/scripts/pskbuild.js --projectMap=./builds/build.json

Found project map ./builds/domain_build.json Reading targets and their dependencies list... Starts rebuilding Building target domain domain done Finished rebuilding Found project map ./builds/build.json Reading targets and their dependencies list... Starts rebuilding Building target webshims Building target pskruntime Building target pskWebServer Building target consoleTools Building target blockchain Building target openDSU Building target sandboxBase Building target edfsBar Building target testsRuntime Building target csbBoot Building target bindableModel Building target swBoot Building target hostBoot Building target ssappBoot Building target threadBoot Building target domainBoot Building target isolatesBoot Building target launcherBoot Building target walletBoot pskruntime done blockchain done openDSU done sandboxBase done edfsBar done consoleTools done isolatesBoot done events.js:288 throw er; // Unhandled 'error' event ^

Error: Can't walk dependency graph: Cannot find module 'swarm-engine/bootScripts/IsolateBootScript' from '/Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/_fake.js' required by /Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/_fake.js at /Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/node_modules/resolve/lib/async.js:115:35 at processDirs (/Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/node_modules/resolve/lib/async.js:268:39) at isdir (/Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/node_modules/resolve/lib/async.js:275:32) at /Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/node_modules/resolve/lib/async.js:25:69 at FSReqCallback.oncomplete (fs.js:166:21) Emitted 'error' event on Readable instance at: at Labeled. (/Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/node_modules/read-only-stream/index.js:28:44) at Labeled.emit (events.js:311:20) at Labeled. (/Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/node_modules/stream-splicer/index.js:130:18) at Labeled.emit (events.js:311:20) at Deps. (/Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/node_modules/stream-splicer/index.js:130:18) at Deps.emit (events.js:311:20) at /Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/node_modules/module-deps/index.js:387:25 at onresolve (/Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/node_modules/module-deps/index.js:185:25) at /Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/node_modules/browserify/index.js:528:22 at /Users/nashihr1/DevWork/opendsu/tutorial-workspace/privatesky/node_modules/browser-resolve/index.js:265:24 { code: 'MODULE_NOT_FOUND', stream: Labeled {

alexgheorghiu commented 3 years ago

Check this section https://github.com/PrivateSky/tutorial-workspace#prerequisites and try again please.

alexgheorghiu commented 3 years ago

It seems that you have Python 3.7.6 when you should have a 2.7.X

find Python using Python version 3.7.6

Again check the above link for Python 2.7

alexgheorghiu commented 3 years ago

Hrishikesh: "Thanks Alex, I think problem was due to package-lock.json. I removed it and ran npm install again. It worked. Regards,

Hrishikesh"