Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Cannot find module "async" #72

Open
graham-sportsmgmt opened this issue Feb 23, 2018 · 2 comments
Open

Cannot find module "async" #72

graham-sportsmgmt opened this issue Feb 23, 2018 · 2 comments

Comments

@graham-sportsmgmt
Copy link

We have been using funcpack successfully for many months, but recently it seems to be having issues with the async module which we rely on very heavily.

Everything is running fine in the local Functions Emulator, the code is committed to VSO which is set up as a deployment source for the function app. To fix this all we have to do is change the value of SCM_USE_FUNCPACK to 0 but then we see the execution time of our functions go way up.

This is the error from the console:

2018-02-23T03:09:44.826 [Error] Exception while executing function: Functions.Controller_Report. mscorlib: One or more errors occurred. Error: Cannot find module "async"
at webpackMissingModule (D:\home\site\wwwroot.funcpack\index.js:193949:79)
at Object. (D:\home\site\wwwroot.funcpack\index.js:193949:161)
at webpack_require (D:\home\site\wwwroot.funcpack\index.js:21:30)
at Object. (D:\home\site\wwwroot.funcpack\index.js:59046:28)
at webpack_require (D:\home\site\wwwroot.funcpack\index.js:21:30)
at module.exports.SUGAR_GLOBAL (D:\home\site\wwwroot.funcpack\index.js:64:18)
at Object. (D:\home\site\wwwroot.funcpack\index.js:67:10)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32).

@blackc0d3
Copy link

Hello graham, I'm finding the same error when i deploy my functions to Azure. Did you find any solution besides the one you mention?

@graham-sportsmgmt
Copy link
Author

No solution at this point. I believe the functions team is focused on the next version which might just solve this problem at the core.

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

No branches or pull requests

2 participants