You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ReferenceError: PRIVATE_KEY_1 is not defined
at Object. (/Users/a/Documents/ondc/tech-ondc/ondc-reference-implementations/utilities/on_subscibe-service/node/index.js:33:20)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47
Node.js v20.7.0
The text was updated successfully, but these errors were encountered:
@nishthamongaondc while you've committed index.js - does it run on your instance?
I'm unsure how .. since PRIVATE_KEY_1 is not defined.
Error log :
node index.js
/Users/a/Documents/ondc/tech-ondc/ondc-reference-implementations/utilities/on_subscibe-service/node/index.js:33
key: Buffer.from(PRIVATE_KEY_1, 'base64'), // Decode private key from base64
^
ReferenceError: PRIVATE_KEY_1 is not defined
at Object. (/Users/a/Documents/ondc/tech-ondc/ondc-reference-implementations/utilities/on_subscibe-service/node/index.js:33:20)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47
Node.js v20.7.0
The text was updated successfully, but these errors were encountered: