When trying to initiate a Client with
const client = await Client.create(configuration);
the following error is thrown:
@octopusdeploy_api-client.js?v=1b947806:2051 Uncaught ReferenceError: process is not defined
at node_modules/adm-zip/methods/inflater.js (@octopusdeploy_api-client.js?v=1b947806:2051:19)
at __require (chunk-EQCVQC35.js?v=1b947806:9:50)
at node_modules/adm-zip/methods/index.js (@octopusdeploy_api-client.js?v=1b947806:2215:24)
at __require (chunk-EQCVQC35.js?v=1b947806:9:50)
at node_modules/adm-zip/zipEntry.js (@octopusdeploy_api-client.js?v=1b947806:2226:19)
at __require (chunk-EQCVQC35.js?v=1b947806:9:50)
at node_modules/adm-zip/adm-zip.js (@octopusdeploy_api-client.js?v=1b947806:2902:20)
at __require (chunk-EQCVQC35.js?v=1b947806:9:50)
at node_modules/@octopusdeploy/api-client/dist/features/packages/pack/zipUtils.js (@octopusdeploy_api-client.js?v=1b947806:6134:37)
at __require (chunk-EQCVQC35.js?v=1b947806:9:50)
node_modules/adm-zip/methods/inflater.js @ @octopusdeploy_api-client.js?v=1b947806:2051
__require @ chunk-EQCVQC35.js?v=1b947806:9
node_modules/adm-zip/methods/index.js @ @octopusdeploy_api-client.js?v=1b947806:2215
__require @ chunk-EQCVQC35.js?v=1b947806:9
node_modules/adm-zip/zipEntry.js @ @octopusdeploy_api-client.js?v=1b947806:2226
__require @ chunk-EQCVQC35.js?v=1b947806:9
node_modules/adm-zip/adm-zip.js @ @octopusdeploy_api-client.js?v=1b947806:2902
__require @ chunk-EQCVQC35.js?v=1b947806:9
node_modules/@octopusdeploy/api-client/dist/features/packages/pack/zipUtils.js @ @octopusdeploy_api-client.js?v=1b947806:6134
__require @ chunk-EQCVQC35.js?v=1b947806:9
node_modules/@octopusdeploy/api-client/dist/features/packages/pack/nugetPackageBuilder.js @ @octopusdeploy_api-client.js?v=1b947806:6403
__require @ chunk-EQCVQC35.js?v=1b947806:9
node_modules/@octopusdeploy/api-client/dist/features/packages/pack/index.js @ @octopusdeploy_api-client.js?v=1b947806:6613
__require @ chunk-EQCVQC35.js?v=1b947806:9
node_modules/@octopusdeploy/api-client/dist/features/packages/index.js @ @octopusdeploy_api-client.js?v=1b947806:7096
__require @ chunk-EQCVQC35.js?v=1b947806:9
node_modules/@octopusdeploy/api-client/dist/features/index.js @ @octopusdeploy_api-client.js?v=1b947806:21026
__require @ chunk-EQCVQC35.js?v=1b947806:9
node_modules/@octopusdeploy/api-client/dist/index.js @ @octopusdeploy_api-client.js?v=1b947806:24623
__require @ chunk-EQCVQC35.js?v=1b947806:9
(anonymous) @ @octopusdeploy_api-client.js?v=1b947806:24653
content_script_bundle.js:1 Attempting initialization Mon Jan 27 2025 11:45:44 GMT+0000 (Greenwich Mean Time)
Versions:
"react": "^18.3.1"
"react-dom": "^18.3.1"
"@octopusdeploy/api-client": "^3.5.1"
"@octopusdeploy/message-contracts": "^1.3.2"
"vite": "^6.0.5"
When trying to initiate a
Clientwiththe following error is thrown:
Versions: