Skip to content

Can't resolve './operations_client_config' #398

@its-dibo

Description

@its-dibo

using firebase admin in an Angular9 project with Ivy-enabled causes this error

ERROR in ./node_modules/google-gax/build/src/operationsClient.js
Module not found: Error: Can't resolve './operations_client_config' 
in 'node_modules\google-gax\build\src'

in Angular9 we don't have a direct access to webpack config.

I temporary solved this issue by adding '.json' to const configData = require('./operations_client_config') but it is not good to modify a node_module file.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions