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
> nx run shared-root-security-auth:build:production
Building Angular Package
------------------------------------------------------------------------------
Building entry point '@nhhockeyplayer/shared-root-security-auth'
------------------------------------------------------------------------------
✖ Compiling with Angular sources in Ivy partial compilation mode.
NX error TS5055: Cannot write file '/Users/meanstack02/meanstack/dist/libs/shared/root/environment/index.cjs' because it would overwrite input file.
error TS5055: Cannot write file '/Users/meanstack02/meanstack/dist/libs/shared/root/service/index.cjs' because it would overwrite input file.
error TS5055: Cannot write file '/Users/meanstack02/meanstack/dist/libs/shared/util/isomorphic/index.cjs' because it would overwrite input file.
libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:22:32 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?
22 getUserPojos(): Observable<UserPojo[]> {
~~~~~~~~
libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:24:30 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?
24 return this.http.get<UserPojo[]>(`http://localhost:3333/nest/user`)~~~~~~~~
libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:26:41 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?
26 map((collection: UserPojo[]) => collection), ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:42:41 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?42 getUserPojo(id: number): Observable<UserPojo> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:43:30 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?43 return this.http.get<UserPojo>(`${this.apiUrl}/user/${id}`) ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:47:24 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?47 saveUserPojo(user: UserPojo): Observable<any> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:3:26 - error TS6059: File '/Users/meanstack02/meanstack/dist/libs/shared/util/isomorphic/index.cjs' is not under 'rootDir' '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src'. 'rootDir' is expected to contain all source files. The file is in the program because: Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/interface/IClientDecodedJwt.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1'3 import { UserPojo } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:11:4211 import {EnvironmentPojo, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:12:3112 import { IAuthResponse } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:11:5411 import { EnvironmentPojo, IUserPojo, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:6:476 import { IRolePojo, RolePojo, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:12:2312 import { ERole } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/interface/IClientDecodedJwt.ts:1:251 import {IUserPojo} from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts:7:697 import { ERole, IRolePojo, RolePojo, RolePojoModel, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here.libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:12:10 - error TS2305: Module '"@nhhockeyplayer/shared-util-isomorphic"' has no exported member 'IAuthResponse'.12 import { IAuthResponse } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:20:14 - error TS2415: Class 'AuthApiService' incorrectly extends base class 'BaseService'. Property 'localStorageService' is protected in type 'AuthApiService' but public in type 'BaseService'.20 export class AuthApiService extends BaseService { ~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:22:95 - error TS2749: 'LocalStorageService' refers to a value, but is being used as a type here. Did you mean 'typeof LocalStorageService'?22 @Inject(LOCALSTORAGE_SERVICE_INJECTION_TOKEN) protected override localStorageService: LocalStorageService, ~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:23:79 - error TS2749: 'EnvironmentPojo' refers to a value, but is being used as a type here. Did you mean 'typeof EnvironmentPojo'?23 @Inject(ENVIRONMENT_INSTANCE_INJECTION_TOKEN) protected override env: EnvironmentPojo, ~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:32:21 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?32 register(model: UserPojo) { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:56:18 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?56 login(model: UserPojo) { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:80:26 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?80 passwordReset(model: UserPojo) { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:104:26 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?104 resetPassword(model: UserPojo): Observable<IAuthResponse<UserPojo>> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:104:62 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?104 resetPassword(model: UserPojo): Observable<IAuthResponse<UserPojo>> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:107:16 - error TS2347: Untyped function calls may not accept type arguments.107 return this.http ~~~~~~~~~108 .put<IAuthResponse<UserPojo>>(this.apiUrl + model._id, model) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:108:39 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?108 .put<IAuthResponse<UserPojo>>(this.apiUrl + model._id, model) ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:129:25 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?129 editPassword(model: UserPojo): Observable<IAuthResponse<UserPojo>> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:129:61 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?129 editPassword(model: UserPojo): Observable<IAuthResponse<UserPojo>> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:132:16 - error TS2347: Untyped function calls may not accept type arguments.132 return this.http ~~~~~~~~~133 .put<IAuthResponse<UserPojo>>(this.apiUrl + model._id, model) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:133:39 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?133 .put<IAuthResponse<UserPojo>>(this.apiUrl + model._id, model) ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:10:8 - error TS6059: File '/Users/meanstack02/meanstack/dist/libs/shared/root/service/index.cjs' is not under 'rootDir' '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src'. 'rootDir' is expected to contain all source files. The file is in the program because: Imported via '@nhhockeyplayer/shared-root-service' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts' with packageId '@nhhockeyplayer/shared-root-service/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-root-service' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts' with packageId '@nhhockeyplayer/shared-root-service/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-root-service' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/http-interceptors/http-auth.interceptor.ts' with packageId '@nhhockeyplayer/shared-root-service/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-root-service' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts' with packageId '@nhhockeyplayer/shared-root-service/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-root-service' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts' with packageId '@nhhockeyplayer/shared-root-service/index.cjs@0.0.1'10 } from '@nhhockeyplayer/shared-root-service' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:10:810 } from '@nhhockeyplayer/shared-root-service' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/http-interceptors/http-auth.interceptor.ts:10:810 } from '@nhhockeyplayer/shared-root-service' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:11:811 } from '@nhhockeyplayer/shared-root-service' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts:12:812 } from '@nhhockeyplayer/shared-root-service'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here.libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:13:54 - error TS6059: File '/Users/meanstack02/meanstack/dist/libs/shared/root/environment/index.cjs' is not under 'rootDir' '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src'. 'rootDir' is expected to contain all source files. The file is in the program because: Imported via '@nhhockeyplayer/shared-root-environment' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts' with packageId '@nhhockeyplayer/shared-root-environment/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-root-environment' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts' with packageId '@nhhockeyplayer/shared-root-environment/index.cjs@0.0.1'13 import { ENVIRONMENT_INSTANCE_INJECTION_TOKEN } from '@nhhockeyplayer/shared-root-environment' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:12:5412 import { ENVIRONMENT_INSTANCE_INJECTION_TOKEN } from '@nhhockeyplayer/shared-root-environment' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here.libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:11:27 - error TS2724: '"@nhhockeyplayer/shared-util-isomorphic"' has no exported member named 'IUserPojo'. Did you mean 'UserPojo'?11 import { EnvironmentPojo, IUserPojo, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:21:92 - error TS2749: 'LocalStorageService' refers to a value, but is being used as a type here. Did you mean 'typeof LocalStorageService'?21 @Inject(LOCALSTORAGE_SERVICE_INJECTION_TOKEN) public override localStorageService: LocalStorageService, ~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:22:76 - error TS2749: 'EnvironmentPojo' refers to a value, but is being used as a type here. Did you mean 'typeof EnvironmentPojo'?22 @Inject(ENVIRONMENT_INSTANCE_INJECTION_TOKEN) public override env: EnvironmentPojo, ~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:46:16 - error TS2347: Untyped function calls may not accept type arguments.46 return this.http.get<typeof UserPojo[]>(this.apiUrl).pipe( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:93:62 - error TS2339: Property 'emailAddress' does not exist on type 'typeof UserPojo'.93 users.filter((user: typeof UserPojo) => user.emailAddress === model.emailAddress) ~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:98:19 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?98 create(model: UserPojo) { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:102:14 - error TS2339: Property 'httpHeaders' does not exist on type 'UserApiAnotherService'.102 this.httpHeaders = { ~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:137:16 - error TS2347: Untyped function calls may not accept type arguments.137 return this.http.get<UserPojo>(this.apiUrl + id).pipe( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:137:30 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?137 return this.http.get<UserPojo>(this.apiUrl + id).pipe( ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:153:19 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?153 update(model: UserPojo) { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:156:16 - error TS2347: Untyped function calls may not accept type arguments.156 return this.http.put<UserPojo>(this.apiUrl + model._id, model).pipe( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:156:30 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?156 return this.http.put<UserPojo>(this.apiUrl + model._id, model).pipe( ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:198:16 - error TS2347: Untyped function calls may not accept type arguments.198 return this.http.get<IUserPojo[]>(`${this.apiUrl}/user`) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:201:37 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?201 getUser(id: number): Observable<UserPojo> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:202:16 - error TS2347: Untyped function calls may not accept type arguments.202 return this.http.get<UserPojo>(`${this.apiUrl}/user/${id}`) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:202:30 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?202 return this.http.get<UserPojo>(`${this.apiUrl}/user/${id}`) ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:206:20 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?206 saveUser(user: UserPojo): Observable<any> { ~~~~~~~~libs/shared/root/security/auth/src/lib/interface/IClientDecodedJwt.ts:1:9 - error TS2724: '"@nhhockeyplayer/shared-util-isomorphic"' has no exported member named 'IUserPojo'. Did you mean 'UserPojo'?1 import {IUserPojo} from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:6:10 - error TS2724: '"@nhhockeyplayer/shared-util-isomorphic"' has no exported member named 'IRolePojo'. Did you mean 'RolePojo'?6 import { IRolePojo, RolePojo, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:19:11 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?19 user: UserPojo = new UserPojo({ ~~~~~~~~libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:35:11 - error TS2749: 'RolePojo' refers to a value, but is being used as a type here. Did you mean 'typeof RolePojo'?35 role: RolePojo | IRolePojo | null = new RolePojo({ ~~~~~~~~libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:45:84 - error TS2749: 'LocalStorageService' refers to a value, but is being used as a type here. Did you mean 'typeof LocalStorageService'?45 @Inject(LOCALSTORAGE_SERVICE_INJECTION_TOKEN) private localStorageService: LocalStorageService, ~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:143:32 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?143 const theUser: UserPojo = new UserPojo({ ~~~~~~~~libs/shared/root/security/auth/src/lib/http-interceptors/http-auth.interceptor.ts:17:84 - error TS2749: 'LocalStorageService' refers to a value, but is being used as a type here. Did you mean 'typeof LocalStorageService'?17 @Inject(LOCALSTORAGE_SERVICE_INJECTION_TOKEN) private localStorageService: LocalStorageService, ~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/http-interceptors/http-auth.interceptor.ts:18:37 - error TS2749: 'ErrorHandlerService' refers to a value, but is being used as a type here. Did you mean 'typeof ErrorHandlerService'?18 private errorDialogService: ErrorHandlerService ~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/http-interceptors/http-auth.interceptor.ts:18:17 - error NG2003: No suitable injection token for parameter 'errorDialogService' of class 'HttpAuthInterceptor'. Consider using the @Inject decorator to specify an injection token.18 private errorDialogService: ErrorHandlerService ~~~~~~~~~~~~~~~~~~ libs/shared/root/security/auth/src/lib/http-interceptors/http-auth.interceptor.ts:18:3718 private errorDialogService: ErrorHandlerService ~~~~~~~~~~~~~~~~~~~ This type does not have a value, so it cannot be used as injection token.libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts:7:17 - error TS2724: '"@nhhockeyplayer/shared-util-isomorphic"' has no exported member named 'IRolePojo'. Did you mean 'RolePojo'?7 import { ERole, IRolePojo, RolePojo, RolePojoModel, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic'; ~~~~~~~~~libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts:18:11 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?18 user: UserPojo = new UserPojo({ ~~~~~~~~libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts:34:11 - error TS2749: 'RolePojo' refers to a value, but is being used as a type here. Did you mean 'typeof RolePojo'?34 role: RolePojo | IRolePojo | null = new RolePojoModel({ ~~~~~~~~libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts:47:84 - error TS2749: 'LocalStorageService' refers to a value, but is being used as a type here. Did you mean 'typeof LocalStorageService'?47 @Inject(LOCALSTORAGE_SERVICE_INJECTION_TOKEN) private localStorageService: LocalStorageService, ~~~~~~~~~~~~~~~~~~~Error: error TS5055: Cannot write file '/Users/meanstack02/meanstack/dist/libs/shared/root/environment/index.cjs' because it would overwrite input file.error TS5055: Cannot write file '/Users/meanstack02/meanstack/dist/libs/shared/root/service/index.cjs' because it would overwrite input file.error TS5055: Cannot write file '/Users/meanstack02/meanstack/dist/libs/shared/util/isomorphic/index.cjs' because it would overwrite input file.libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:22:32 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?22 getUserPojos(): Observable<UserPojo[]> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:24:30 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?24 return this.http.get<UserPojo[]>(`http://localhost:3333/nest/user`) ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:26:41 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?26 map((collection: UserPojo[]) => collection), ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:42:41 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?42 getUserPojo(id: number): Observable<UserPojo> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:43:30 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?43 return this.http.get<UserPojo>(`${this.apiUrl}/user/${id}`) ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:47:24 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?47 saveUserPojo(user: UserPojo): Observable<any> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts:3:26 - error TS6059: File '/Users/meanstack02/meanstack/dist/libs/shared/util/isomorphic/index.cjs' is not under 'rootDir' '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src'. 'rootDir' is expected to contain all source files. The file is in the program because: Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/user-api.service.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/interface/IClientDecodedJwt.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-util-isomorphic' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts' with packageId '@nhhockeyplayer/shared-util-isomorphic/index.cjs@0.0.1'3 import { UserPojo } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:11:4211 import {EnvironmentPojo, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:12:3112 import { IAuthResponse } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:11:5411 import { EnvironmentPojo, IUserPojo, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:6:476 import { IRolePojo, RolePojo, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:12:2312 import { ERole } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/interface/IClientDecodedJwt.ts:1:251 import {IUserPojo} from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts:7:697 import { ERole, IRolePojo, RolePojo, RolePojoModel, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here.libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:12:10 - error TS2305: Module '"@nhhockeyplayer/shared-util-isomorphic"' has no exported member 'IAuthResponse'.12 import { IAuthResponse } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:20:14 - error TS2415: Class 'AuthApiService' incorrectly extends base class 'BaseService'. Property 'localStorageService' is protected in type 'AuthApiService' but public in type 'BaseService'.20 export class AuthApiService extends BaseService { ~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:22:95 - error TS2749: 'LocalStorageService' refers to a value, but is being used as a type here. Did you mean 'typeof LocalStorageService'?22 @Inject(LOCALSTORAGE_SERVICE_INJECTION_TOKEN) protected override localStorageService: LocalStorageService, ~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:23:79 - error TS2749: 'EnvironmentPojo' refers to a value, but is being used as a type here. Did you mean 'typeof EnvironmentPojo'?23 @Inject(ENVIRONMENT_INSTANCE_INJECTION_TOKEN) protected override env: EnvironmentPojo, ~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:32:21 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?32 register(model: UserPojo) { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:56:18 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?56 login(model: UserPojo) { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:80:26 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?80 passwordReset(model: UserPojo) { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:104:26 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?104 resetPassword(model: UserPojo): Observable<IAuthResponse<UserPojo>> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:104:62 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?104 resetPassword(model: UserPojo): Observable<IAuthResponse<UserPojo>> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:107:16 - error TS2347: Untyped function calls may not accept type arguments.107 return this.http ~~~~~~~~~108 .put<IAuthResponse<UserPojo>>(this.apiUrl + model._id, model) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:108:39 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?108 .put<IAuthResponse<UserPojo>>(this.apiUrl + model._id, model) ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:129:25 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?129 editPassword(model: UserPojo): Observable<IAuthResponse<UserPojo>> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:129:61 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?129 editPassword(model: UserPojo): Observable<IAuthResponse<UserPojo>> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:132:16 - error TS2347: Untyped function calls may not accept type arguments.132 return this.http ~~~~~~~~~133 .put<IAuthResponse<UserPojo>>(this.apiUrl + model._id, model) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:133:39 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?133 .put<IAuthResponse<UserPojo>>(this.apiUrl + model._id, model) ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:10:8 - error TS6059: File '/Users/meanstack02/meanstack/dist/libs/shared/root/service/index.cjs' is not under 'rootDir' '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src'. 'rootDir' is expected to contain all source files. The file is in the program because: Imported via '@nhhockeyplayer/shared-root-service' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts' with packageId '@nhhockeyplayer/shared-root-service/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-root-service' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts' with packageId '@nhhockeyplayer/shared-root-service/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-root-service' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/http-interceptors/http-auth.interceptor.ts' with packageId '@nhhockeyplayer/shared-root-service/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-root-service' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts' with packageId '@nhhockeyplayer/shared-root-service/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-root-service' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts' with packageId '@nhhockeyplayer/shared-root-service/index.cjs@0.0.1'10 } from '@nhhockeyplayer/shared-root-service' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:10:810 } from '@nhhockeyplayer/shared-root-service' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/http-interceptors/http-auth.interceptor.ts:10:810 } from '@nhhockeyplayer/shared-root-service' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:11:811 } from '@nhhockeyplayer/shared-root-service' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts:12:812 } from '@nhhockeyplayer/shared-root-service'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here.libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts:13:54 - error TS6059: File '/Users/meanstack02/meanstack/dist/libs/shared/root/environment/index.cjs' is not under 'rootDir' '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src'. 'rootDir' is expected to contain all source files. The file is in the program because: Imported via '@nhhockeyplayer/shared-root-environment' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/auth-api.service.ts' with packageId '@nhhockeyplayer/shared-root-environment/index.cjs@0.0.1' Imported via '@nhhockeyplayer/shared-root-environment' from file '/Users/meanstack02/meanstack/libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts' with packageId '@nhhockeyplayer/shared-root-environment/index.cjs@0.0.1'13 import { ENVIRONMENT_INSTANCE_INJECTION_TOKEN } from '@nhhockeyplayer/shared-root-environment' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:12:5412 import { ENVIRONMENT_INSTANCE_INJECTION_TOKEN } from '@nhhockeyplayer/shared-root-environment' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here.libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:11:27 - error TS2724: '"@nhhockeyplayer/shared-util-isomorphic"' has no exported member named 'IUserPojo'. Did you mean 'UserPojo'?11 import { EnvironmentPojo, IUserPojo, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:21:92 - error TS2749: 'LocalStorageService' refers to a value, but is being used as a type here. Did you mean 'typeof LocalStorageService'?21 @Inject(LOCALSTORAGE_SERVICE_INJECTION_TOKEN) public override localStorageService: LocalStorageService, ~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:22:76 - error TS2749: 'EnvironmentPojo' refers to a value, but is being used as a type here. Did you mean 'typeof EnvironmentPojo'?22 @Inject(ENVIRONMENT_INSTANCE_INJECTION_TOKEN) public override env: EnvironmentPojo, ~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:46:16 - error TS2347: Untyped function calls may not accept type arguments.46 return this.http.get<typeof UserPojo[]>(this.apiUrl).pipe( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:93:62 - error TS2339: Property 'emailAddress' does not exist on type 'typeof UserPojo'.93 users.filter((user: typeof UserPojo) => user.emailAddress === model.emailAddress) ~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:98:19 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?98 create(model: UserPojo) { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:102:14 - error TS2339: Property 'httpHeaders' does not exist on type 'UserApiAnotherService'.102 this.httpHeaders = { ~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:137:16 - error TS2347: Untyped function calls may not accept type arguments.137 return this.http.get<UserPojo>(this.apiUrl + id).pipe( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:137:30 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?137 return this.http.get<UserPojo>(this.apiUrl + id).pipe( ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:153:19 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?153 update(model: UserPojo) { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:156:16 - error TS2347: Untyped function calls may not accept type arguments.156 return this.http.put<UserPojo>(this.apiUrl + model._id, model).pipe( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:156:30 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?156 return this.http.put<UserPojo>(this.apiUrl + model._id, model).pipe( ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:198:16 - error TS2347: Untyped function calls may not accept type arguments.198 return this.http.get<IUserPojo[]>(`${this.apiUrl}/user`) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:201:37 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?201 getUser(id: number): Observable<UserPojo> { ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:202:16 - error TS2347: Untyped function calls may not accept type arguments.202 return this.http.get<UserPojo>(`${this.apiUrl}/user/${id}`) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:202:30 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?202 return this.http.get<UserPojo>(`${this.apiUrl}/user/${id}`) ~~~~~~~~libs/shared/root/security/auth/src/lib/api-service/user-api-another.service.ts:206:20 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?206 saveUser(user: UserPojo): Observable<any> { ~~~~~~~~libs/shared/root/security/auth/src/lib/interface/IClientDecodedJwt.ts:1:9 - error TS2724: '"@nhhockeyplayer/shared-util-isomorphic"' has no exported member named 'IUserPojo'. Did you mean 'UserPojo'?1 import {IUserPojo} from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:6:10 - error TS2724: '"@nhhockeyplayer/shared-util-isomorphic"' has no exported member named 'IRolePojo'. Did you mean 'RolePojo'?6 import { IRolePojo, RolePojo, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic' ~~~~~~~~~libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:19:11 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?19 user: UserPojo = new UserPojo({ ~~~~~~~~libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:35:11 - error TS2749: 'RolePojo' refers to a value, but is being used as a type here. Did you mean 'typeof RolePojo'?35 role: RolePojo | IRolePojo | null = new RolePojo({ ~~~~~~~~libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:45:84 - error TS2749: 'LocalStorageService' refers to a value, but is being used as a type here. Did you mean 'typeof LocalStorageService'?45 @Inject(LOCALSTORAGE_SERVICE_INJECTION_TOKEN) private localStorageService: LocalStorageService, ~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/guard/authenticated-guard.service.ts:143:32 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?143 const theUser: UserPojo = new UserPojo({ ~~~~~~~~libs/shared/root/security/auth/src/lib/http-interceptors/http-auth.interceptor.ts:17:84 - error TS2749: 'LocalStorageService' refers to a value, but is being used as a type here. Did you mean 'typeof LocalStorageService'?17 @Inject(LOCALSTORAGE_SERVICE_INJECTION_TOKEN) private localStorageService: LocalStorageService, ~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/http-interceptors/http-auth.interceptor.ts:18:37 - error TS2749: 'ErrorHandlerService' refers to a value, but is being used as a type here. Did you mean 'typeof ErrorHandlerService'?18 private errorDialogService: ErrorHandlerService ~~~~~~~~~~~~~~~~~~~libs/shared/root/security/auth/src/lib/http-interceptors/http-auth.interceptor.ts:18:17 - error NG2003: No suitable injection token for parameter 'errorDialogService' of class 'HttpAuthInterceptor'. Consider using the @Inject decorator to specify an injection token.18 private errorDialogService: ErrorHandlerService ~~~~~~~~~~~~~~~~~~ libs/shared/root/security/auth/src/lib/http-interceptors/http-auth.interceptor.ts:18:3718 private errorDialogService: ErrorHandlerService ~~~~~~~~~~~~~~~~~~~ This type does not have a value, so it cannot be used as injection token.libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts:7:17 - error TS2724: '"@nhhockeyplayer/shared-util-isomorphic"' has no exported member named 'IRolePojo'. Did you mean 'RolePojo'?7 import { ERole, IRolePojo, RolePojo, RolePojoModel, UserPojo } from '@nhhockeyplayer/shared-util-isomorphic'; ~~~~~~~~~libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts:18:11 - error TS2749: 'UserPojo' refers to a value, but is being used as a type here. Did you mean 'typeof UserPojo'?18 user: UserPojo = new UserPojo({ ~~~~~~~~libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts:34:11 - error TS2749: 'RolePojo' refers to a value, but is being used as a type here. Did you mean 'typeof RolePojo'?34 role: RolePojo | IRolePojo | null = new RolePojoModel({ ~~~~~~~~libs/shared/root/security/auth/src/lib/guard/auth-facade.guard.ts:47:84 - error TS2749: 'LocalStorageService' refers to a value, but is being used as a type here. Did you mean 'typeof LocalStorageService'?47 @Inject(LOCALSTORAGE_SERVICE_INJECTION_TOKEN) private localStorageService: LocalStorageService, ~~~~~~~~~~~~~~~~~~~ at compileSourceFiles (/Users/meanstack02/meanstack/node_modules/ng-packagr/lib/ngc/compile-source-files.js:175:15) at async /Users/meanstack02/meanstack/node_modules/ng-packagr/lib/ng-package/entry-point/compile-ngc.transform.js:80:13 at async /Users/meanstack02/meanstack/node_modules/ng-packagr/lib/graph/transform.js:6:29——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— NX Running target build for project shared-root-security-auth and 3 tasks it depends on failedFailed tasks:- shared-root-security-auth:build:productionHint: run the command with --verbose for more details. NX Storing terminal outputs for shared-util-isomorphic:build with hash 9047497222560283383 NX Storing terminal outputs for shared-root-environment:build with hash 4924468398195507234 NX Storing terminal outputs for shared-root-service:build with hash 14892780985118291833 NX Storing terminal outputs for shared-root-security-auth:build:production with hash 3628026934245186524 NX Nx Cloud Problems401: Unable to connect to Nx Cloud. (code: 401)meanstack02@admin meanstack %
Package Manager Version
npm --version 10.5.1 yarn -version 1.22.22
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
this shouldnt be happening
Im an nx developer for many years
just mixing utility libraries with angular libraries
esbuild + angular:lite or angular:package
The text was updated successfully, but these errors were encountered:
Current Behavior
code thats been building for months and legit typescript no longer compiles
the amount of errors typescript has flagged is mind boggling
for typescript to impose me to put all these changes in ontop of already legit typescript code is unacceptable
typescript compiler expects me to put TYPEOF in front of everything now
way too much to ask
something isnt right
the declarations are fine and been legit typescript for at least 3 yrs
Expected Behavior
code should compile
GitHub Repo
https://github.com/nhhockeyplayer/meanstack
Steps to Reproduce
my repo needs access please request
Nx Report
Failure Logs
Package Manager Version
npm --version 10.5.1 yarn -version 1.22.22
Operating System
Additional Information
this shouldnt be happening
Im an nx developer for many years
just mixing utility libraries with angular libraries
esbuild + angular:lite or angular:package
The text was updated successfully, but these errors were encountered: