#ReferenceError: Cannot access 'UserModule' before initialization with swc

1 messages · Page 1 of 1 (latest)

dense lantern
#

it's a project with two modules with UserModule and AuthModule, however one module depends on another and I get this error using swc. I know that with the service I can create a type, but how can I use this in a Module?

grizzled laurel
#

Where's the forwardRef?

dense lantern
#

even using it i still have the same problem

#

apparently I found the problem, I ended up forgetting to export the service

#

anyway thank you