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
/usr/local/lib/node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
at Function.Module._load (internal/modules/cjs/loader.js:842:27)
at Module.require (internal/modules/cjs/loader.js:1026:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (/Users/outside/Project/inside-cloud/functions/node_modules/myinfo-connector-v4-nodejs/lib/requestHandler.js:7:21)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Module.require (internal/modules/cjs/loader.js:1026:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (/Users/outside/Project/inside-cloud/functions/node_modules/myinfo-connector-v4-nodejs/index.js:4:24)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
⚠ We were unable to load your functions code. (see above)
I have went into the module folder and removed the "node:" portion within the request handler to allow the emulation to work. However when i deploy to the cloud this issue reappears again. Is there any other way which I may look at to avoid this issue?
Thank you
The text was updated successfully, but these errors were encountered:
Good afternoon,
I am currently using the library with google firebase cloud functions. However after installing using
"npm install myinfo-connector-v4-nodejs"
I receive the following error when i try to test the function:
Stacktrace:
Error: Cannot find module 'node:querystring'
Require stack:
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
at Function.Module._load (internal/modules/cjs/loader.js:842:27)
at Module.require (internal/modules/cjs/loader.js:1026:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (/Users/outside/Project/inside-cloud/functions/node_modules/myinfo-connector-v4-nodejs/lib/requestHandler.js:7:21)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Module.require (internal/modules/cjs/loader.js:1026:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (/Users/outside/Project/inside-cloud/functions/node_modules/myinfo-connector-v4-nodejs/index.js:4:24)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
⚠ We were unable to load your functions code. (see above)
I have went into the module folder and removed the "node:" portion within the request handler to allow the emulation to work. However when i deploy to the cloud this issue reappears again. Is there any other way which I may look at to avoid this issue?
Thank you
The text was updated successfully, but these errors were encountered: