Cannot use module in Ionic4 + Angular8 + Firebase apps #566
Labels
api: logging
Issues related to the googleapis/nodejs-logging API.
browser
type: question
Request for information or clarification. Not an issue.
web
Environment details
@google-cloud/logging
version: 5.2.2Steps to reproduce
Objective use nodejs-logging in an Ionic4+Angular8+Firebase app to write logs to StackDriver
In the app root:
import {Long} from "protobufjs";
Get a list of Module not found errors for various node core modules such as crypto, child_process, fs, zlib, http, tls, os etc. e.g.
ERROR in ./node_modules/google-gax/build/src/operationsClientBrowser.js
Module not found: Error: Can't resolve './operations_client_config' in '/home/pam/strata1/strata_forms_app/node_modules/google-gax/build/src'
ERROR in ./node_modules/@google-cloud/common/node_modules/google-auth-library/build/src/auth/googleauth.js
Does this mean that @google-cloud/logging cannot be used in Angular-Firebase apps?
Thanks!
The text was updated successfully, but these errors were encountered: