Closed nhrishi closed 3 years ago
Check this section https://github.com/PrivateSky/tutorial-workspace#prerequisites and try again please.
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
Hrishikesh: "Thanks Alex, I think problem was due to package-lock.json. I removed it and ran npm install again. It worked. Regards,
Hrishikesh"
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
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
[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".
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[ 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.
[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! ^ 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: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~~~~~ ^ 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 oknpm 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
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',
} } 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
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
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
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/runnpm 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
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
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/runnpm 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
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/runnpm 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
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
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
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
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
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 {