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
It turns out that this file had (mis) placed its constructor below this code in the class.
After a little while, we discovered that the error disappeared after moving the constructor() definition above the function containing that code. Thus it would seem that awilix incorrectly parses a file if the word constructor appears before the actual constructor implementation. Perhaps a pattern-match on constructor(...) would fix the issue?