diff --git a/packages/cactus-cockpit/package.json b/packages/cactus-cockpit/package.json index 7dd1d3143f..d20a409a46 100644 --- a/packages/cactus-cockpit/package.json +++ b/packages/cactus-cockpit/package.json @@ -60,6 +60,7 @@ "karma-coverage-istanbul-reporter": "3.0.3", "karma-jasmine": "4.0.1", "karma-jasmine-html-reporter": "1.5.4", + "process": "0.11.10", "protractor": "7.0.0", "tslint": "~6.1.0", "typescript": "4.0.5", diff --git a/packages/cactus-cockpit/src/polyfills.ts b/packages/cactus-cockpit/src/polyfills.ts index a69aee5951..5d4895a81a 100644 --- a/packages/cactus-cockpit/src/polyfills.ts +++ b/packages/cactus-cockpit/src/polyfills.ts @@ -63,3 +63,6 @@ import "zone.js/dist/zone"; // Included with Angular CLI. /*************************************************************************************************** * APPLICATION IMPORTS */ + +// @see https://github.com/hyperledger/cactus/issues/410 +window.process = require("process");