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

Exception while executing function: Functions.DLQTaskConsumer - Cannot find module @azure/data-tables #117

Closed
nathanwoctopusdeploy opened this issue Jul 10, 2024 · 2 comments

Comments

@nathanwoctopusdeploy
Copy link

Version

4.1.1 - https://github.com/SumoLogic/sumologic-azure-function/releases/tag/v4.1.1

What happened?

BlockBlobReaderDLQProcessor.DLQTaskConsumer function fails to run as it is missing @azure/data-tables package.

Running the function using BlockBlobReaderDLQProcessor.zip

Error and Stacktrace

Exception while executing function: Functions.DLQTaskConsumer Result: Failure
Exception: Worker was unable to load function DLQTaskConsumer: 'Cannot find module '@azure/data-tables'
Require stack:
- C:\home\site\wwwroot\DLQTaskConsumer\index.js
- C:\Program Files (x86)\SiteExtensions\Functions\4.34.2\workers\node\dist\src\worker-bundle.js
- C:\Program Files (x86)\SiteExtensions\Functions\4.34.2\workers\node\dist\src\nodejsWorker.js'
Stack: Error: Worker was unable to load function DLQTaskConsumer: 'Cannot find module '@azure/data-tables'
Require stack:
- C:\home\site\wwwroot\DLQTaskConsumer\index.js
- C:\Program Files (x86)\SiteExtensions\Functions\4.34.2\workers\node\dist\src\worker-bundle.js
- C:\Program Files (x86)\SiteExtensions\Functions\4.34.2\workers\node\dist\src\nodejsWorker.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Module._load (node:internal/modules/cjs/loader:975:27)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at Object.apply (C:\Program Files (x86)\SiteExtensions\Functions\4.34.2\workers\node\dist\src\worker-bundle.js:2:51713)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (C:\home\site\wwwroot\DLQTaskConsumer\index.js:8:25)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12) 
@nathanwoctopusdeploy nathanwoctopusdeploy changed the title Exception while executing function: Functions.DLQTaskConsumer - Cannot find module '@azure/data-tables Exception while executing function: Functions.DLQTaskConsumer - Cannot find module @azure/data-tables Jul 10, 2024
@nathanwoctopusdeploy
Copy link
Author

cc @himanshu219

@himanshu219
Copy link
Collaborator

@nathanwoctopusdeploy have released a new patched version https://github.com/SumoLogic/sumologic-azure-function/releases/tag/v4.1.2

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