Error when building on Ubuntu
On my ubuntu build server I am getting this error:
ERROR in Error encountered resolving symbol values statically. Calling function 'AuthModule', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AppModule in /opt/jetbrains/TeamCity/buildAgent/work/4175286452300620/source/SD.Clients.Web/src/app/app.module.ts, resolving symbol AppModule in /opt/jetbrains/TeamCity/buildAgent/work/4175286452300620/source/SD.Clients.Web/src/app/app.module.ts
My AppModule contains this code in imports:
AuthModule.forRoot(new AuthConfig())
+1
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇♂️