-
Notifications
You must be signed in to change notification settings - Fork 270
googleapis incompatible with apps created by CreateReactApp #716
Comments
I'm also having trouble using |
We do not officially support React, but I will reach out to someone about this issue. |
@munkhuushmgl: I appreciate your attention. Perhaps your resources can identify some sort of work-around. It will be unfortunate if I'm unable to use googleapi at all, especially since I don't need or use the affected behavior (http2 support). In the absence of a work-around, perhaps the googleapi documentation might be updated to more prominently mention that googleapi is not compatible with React. |
@SomervilleTom So I was able to fix my issue by making sure I don't import any of the |
I continue using googleapis v.48.0.0 that does not have this issue (I use it in the frontend of a Vue serverless application). Any attempt to upgrade to a newer version ends with "This dependency was not found: http2 in ./node_modules/googleapis-common/build/src/http2.js" error. |
Hi. This issue relates to client-side support of googleapis services. This topic was discussed here. I am now closing this issue. Please, reopen if needed. |
This updates an earlier "closed" issue reporting what may be the same bug. I do not have a Google support contract.
My specific experience is exactly the same as reported earlier by "shivasuri" and others on the other issue. I'm running CentOS 7 on an AWS EC2 instance. I develop using Visual Studio Code (VSC) on a local robust Win10 Pro system using the "RemoteSSH" extension to connect to the target system. I keep an SSH connection from the local host to the remote target system at all times, and I forward various ports including 3000, 3001, and so on from the target system back to the local host. I use a local up-to-date Chrome browser, and I use the "Debugging in Chrome" extension in VSC.
Here are the various versions I'm running:
I've installed googleapi following the guidance from the documentation:
When I attempt to start the react app, I see the same complaints reported above:
When I install http2 from the command line:
I get the same failure reported above:
It would be very helpful if a workaround (with enough detail for an npm/react newbie to follow) could be posted here, especially if this issue is to remain closed. It prevents me from using googleapis, and that in turn is blocking my ability to successfully continue development of my current project (which requires using the youtube v3 search api).
FWIW, I do not need http2 functionality or behavior.
The text was updated successfully, but these errors were encountered: