Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utilities/on_subscibe-service/node/index.js wont compile or run #54

Open
amitsingh08 opened this issue Dec 29, 2023 · 1 comment
Open

Comments

@amitsingh08
Copy link

@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

@nishthamongaondc
Copy link
Contributor

Working towards it. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants