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
Hello, I'm using credentials FirebaseAuthError, FirebaseError, FirebaseMessagingError but they don't export. My dependencies: firebase-admin: ^11.0.1, nestjs-firebase: ^8.2.3, nestjs version: 8.2. Do you can help me, please
node:internal/modules/cjs/loader:488
[0] throw e;
[0] ^
[0]
[0] Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/utils/error' is not defined by "exports" in F:\dashboard\dashboard-nest-api\node_modules\fire
base-admin\package.json
[0] at new NodeError (node:internal/errors:371:5)
[0] at throwExportsNotFound (node:internal/modules/esm/resolve:440:9)
[0] at packageExportsResolve (node:internal/modules/esm/resolve:692:3)
[0] at resolveExports (node:internal/modules/cjs/loader:482:36)
[0] at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
[0] at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
[0] at Function.Module._load (node:internal/modules/cjs/loader:778:27)
[0] at Module.require (node:internal/modules/cjs/loader:1005:19)
[0] at require (node:internal/modules/cjs/helpers:102:18)
[0] at Object. (F:\dashboard\dashboard-nest-api\build\financialAnalyst\financialAnalyst.service.js:23:17)
[0] at Module._compile (node:internal/modules/cjs/loader:1101:14)
[0] at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
[0] at Module.load (node:internal/modules/cjs/loader:981:32)
[0] at Function.Module._load (node:internal/modules/cjs/loader:822:12)
[0] at Module.require (node:internal/modules/cjs/loader:1005:19)
[0] at require (node:internal/modules/cjs/helpers:102:18) {
[0] code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
[0] }
Hello, I'm using credentials FirebaseAuthError, FirebaseError, FirebaseMessagingError but they don't export. My dependencies: firebase-admin: ^11.0.1, nestjs-firebase: ^8.2.3, nestjs version: 8.2. Do you can help me, please
node:internal/modules/cjs/loader:488
[0] throw e;
[0] ^
[0]
[0] Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/utils/error' is not defined by "exports" in F:\dashboard\dashboard-nest-api\node_modules\fire
base-admin\package.json
[0] at new NodeError (node:internal/errors:371:5)
[0] at throwExportsNotFound (node:internal/modules/esm/resolve:440:9)
[0] at packageExportsResolve (node:internal/modules/esm/resolve:692:3)
[0] at resolveExports (node:internal/modules/cjs/loader:482:36)
[0] at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
[0] at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
[0] at Function.Module._load (node:internal/modules/cjs/loader:778:27)
[0] at Module.require (node:internal/modules/cjs/loader:1005:19)
[0] at require (node:internal/modules/cjs/helpers:102:18)
[0] at Object. (F:\dashboard\dashboard-nest-api\build\financialAnalyst\financialAnalyst.service.js:23:17)
[0] at Module._compile (node:internal/modules/cjs/loader:1101:14)
[0] at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
[0] at Module.load (node:internal/modules/cjs/loader:981:32)
[0] at Function.Module._load (node:internal/modules/cjs/loader:822:12)
[0] at Module.require (node:internal/modules/cjs/loader:1005:19)
[0] at require (node:internal/modules/cjs/helpers:102:18) {
[0] code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
[0] }
import {FirebaseAuthError, FirebaseError, FirebaseMessagingError} from "firebase-admin/lib/utils/error";
return validationDataFinancialAnalyst$.pipe(
switchMap(err => iif(
() => Array.of(err).every(data => data === data),
from(this.rmq.send('', 'Valid data')),
throwError(err => of(new FirebaseMessagingError({code: '400', message: 'Data aren't valid'}))),
))
)
The text was updated successfully, but these errors were encountered: