GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Failure in npm/[email protected] · Issue #1806 · googleapis/google-cloud-node

Failure in npm/[email protected] #1806

New issue
Copy link
New issue
Copy link
Closed
Closed
Failure in npm/[email protected]#1806
Copy link
Assignees
abawany
Labels
api: loggingIssues related to the Cloud Logging API.

Description

@abawany
abawany
opened on Nov 19, 2016
Issue body actions

Trying to upgrade from 0.41.2 to 0.44.0. No idea why this is happening.

/x/node_modules/google-cloud/node_modules/protobufjs/dist/protobuf.js:2472
                            throw Error(this+"#"+keyOrObj+" is not a field: undefined");
                            ^

Error: .google.logging.v2.LogEntry#type is not a field: undefined
    at Error (native)
    at MessagePrototype.set (/x/node_modules/google-cloud/node_modules/protobufjs/dist/protobuf.js:2472:35)
    at MessagePrototype.set (/x/node_modules/google-cloud/node_modules/protobufjs/dist/protobuf.js:2466:38)
    at Message (/x/node_modules/google-cloud/node_modules/protobufjs/dist/protobuf.js:2395:34)
    at ProtoBuf.Reflect.ElementPrototype.verifyValue (/x/node_modules/google-cloud/node_modules/protobufjs/dist/protobuf.js:1909:28)
    at ProtoBuf.Reflect.FieldPrototype.verifyValue (/x/node_modules/google-cloud/node_modules/protobufjs/dist/protobuf.js:3455:43)
    at MessagePrototype.set (/x/node_modules/google-cloud/node_modules/protobufjs/dist/protobuf.js:2475:59)
    at MessagePrototype.set (/x/node_modules/google-cloud/node_modules/protobufjs/dist/protobuf.js:2466:38)
    at Message (/x/node_modules/google-cloud/node_modules/protobufjs/dist/protobuf.js:2395:34)
    at serialize (/x/node_modules/google-cloud/node_modules/grpc/src/node/src/common.js:87:23)

Activity

  1. stephenplusplus commented on Nov 19, 2016

    @stephenplusplus
    stephenplusplus
    on Nov 19, 2016
    Contributor
    More actions

    Could you show the code that's producing the error?

  2. stephenplusplus
    added
    api: loggingIssues related to the Cloud Logging API.
    on Nov 21, 2016
  3. abawany commented on Nov 22, 2016

    @abawany
    abawany
    on Nov 22, 2016
    Author
    More actions

    Here is a method to duplicate the error (which isn't working for me today so I guess I will close the bug):

    • Install deps (in a clean dir):
    npm install winston
    npm install winston-googlecloud
    
    • Code that shows the error:
    node
    > process.env.GCLOUD_PROJECT='gcloud-project-name';
    > let winston = require('winston');
    > require('winston-googlecloud');
    > let opts = {level: 'info', gcl_project_id: process.env.GCLOUD_PROJECT, gcl_log_name: 'some-log'};
    > winston.add(winston.transports.GoogleCloudLogging, opts);
    > winston.error({t: true, 'hello': 'something'});
    

    On Saturday (11/19/16), this was generating the above error for me but today the log shows up in gcloud as expected. I rolled my code back already to use [email protected] for now and will try to migrate to google-cloud@latest at some point in the future.

  4. abawany
    closed this as completedon Nov 22, 2016
  5. stephenplusplus commented on Nov 22, 2016

    @stephenplusplus
    stephenplusplus
    on Nov 22, 2016
    Contributor
    More actions

    This is probably because of a change we made in our Logging module (#1666). winston-googlecloud doesn't depend on a specific version of google-cloud, it just pulls the latest. If they locked down to an older version, that would work. Otherwise, they'll need to make changes to accommodate the restructure introduced in #1666.

  6. JustinBeckwith
    assigned
    abawany
    on Feb 1, 2021
  7. sofisl
    added 3 commits that reference this issue on Feb 24, 2026

    fix: fix duplicates in Query.stream() with back pressure (#1806)

    048d931

    refactor: Improve `offset` < `numBytesWritten` error message (#1806)

    d21cbb8

    chore(main): release 6.7.2 (#1806)

    3924a41
  8. GautamSharda
    added 3 commits that reference this issue on Mar 11, 2026

    fix: Make retry policy back off more aggressively for RPCs that retry…

    4060ed6

    chore(main): release 4.0.2 (#1808)

    f57c4a2

    feat: add support for OTel context propagation and harmonized spans (#…

    e7c8226
  9. sofisl
    added 2 commits that reference this issue on Mar 17, 2026

    chore(main): release 9.10.0 (#1806)

    22d7e9f

    chore(main): release 4.10.4 (#1806)

    5a642af
  10. thiyaguk09
    added a commit that references this issue on Mar 18, 2026

    refactor: Improve `offset` < `numBytesWritten` error message (googlea…

    d35f205
  11. feywind
    added 2 commits that reference this issue on Mar 27, 2026

    chore(main): release 4.0.2 (#1808)

    bf796bf

    feat: add support for OTel context propagation and harmonized spans (#…

    90be540
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @abawany
    abawany

Labels

api: loggingIssues related to the Cloud Logging API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.