Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

TypeError: Cannot convert undefined or null to object - on basic installation #74

Closed
mahaguru24 opened this issue Aug 19, 2018 · 1 comment
Assignees
Labels
api: texttospeech Issues related to the googleapis/nodejs-text-to-speech API. type: question Request for information or clarification. Not an issue. web

Comments

@mahaguru24
Copy link

Environment details

  • OS: MAC Osx
  • Node.js version: 8.5.0
  • npm version:
  • @google-cloud/text-to-speech version: ^0.3.0

Steps to reproduce

  1. Create react app with create-react-app
  2. Follow basic tutorial for @google-cloud/text-to-speech
TypeError: Cannot convert undefined or null to object
./node_modules/globby/node_modules/pify/index.js.module.exports
node_modules/globby/node_modules/pify/index.js:75
  72 | 		return processFn(obj, opts).apply(this, arguments);
  73 | 	};
  74 | } else {
 75 | 	ret = Object.create(Object.getPrototypeOf(obj));
  76 | }
  77 | 
  78 | for (const key in obj) { // eslint-disable-line guard-for-in

gets the above error
Following these steps will guarantee the quickest resolution possible.

I am new in React, can you please let me know how to resolve this error ?

Thanks!

@JustinBeckwith JustinBeckwith added the triage me I really want to be triaged. label Aug 20, 2018
@stephenplusplus
Copy link

Unfortunately, we do not have explicit support for React at this time. You can keep an eye on this issue, should this change: googleapis/google-cloud-node#531

@stephenplusplus stephenplusplus added type: question Request for information or clarification. Not an issue. and removed triage me I really want to be triaged. labels Aug 20, 2018
@google-cloud-label-sync google-cloud-label-sync bot added the api: texttospeech Issues related to the googleapis/nodejs-text-to-speech API. label Jan 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: texttospeech Issues related to the googleapis/nodejs-text-to-speech API. type: question Request for information or clarification. Not an issue. web
Projects
None yet
Development

No branches or pull requests

3 participants