Skip to content

Cannot read property 'charCodeAt' of undefined at peg$parsetemplate #388

@jgcmarins

Description

@jgcmarins
  1. Is this a client library issue or a product issue?
    This is a client library issue I found by just following the documentation for exporting cloud firestore data.

  2. Did someone already solve this?
    No

  3. Do you have a support contract?
    No

Environment details

  • OS: Cloud Function
  • Node.js version: 10
  • npm version:
  • google-gax version: ^2.2.0

Steps to reproduce

  1. execute de cloud function with documentation's given code
  2. see the error:

TypeError: Cannot read property 'toString' of undefined at PathTemplate.render (/workspace/node_modules/google-gax/build/src/pathTemplate.js:110:37) at FirestoreAdminClient.databasePath (/workspace/node_modules/@google-cloud/firestore/build/src/v1/firestore_admin_client.js:962:56) at exports.scheduledFirestoreExport (/workspace/index.js:7:31) at Promise.resolve.then (/layers/google.nodejs.functions-framework/functions-framework/node_modules/@google-cloud/functions-framework/build/src/invoker.js:199:28) at process._tickCallback (internal/process/next_tick.js:68:7)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions