Can't resolve all parameters. Even though I'm doing it correctly?

Hi getting this error when I’m trying to do a production build. I’ve changed the class name and the path name in the log just as its a confidential project.

Can’t resolve all parameters for -CLASSNAME- in -PATHNAME-: (?).

constructor(@Inject(Object) public data: Object) {}

Any help?