-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't resolve 'http2' and Cannot read property 'split' of undefined #102
Comments
Hello, Using your code from above I was able to get this result (without using
Are you sure this error is coming from ogs? Can you post the full stack trace? What version of node are you on? What is your OS? Is this a React app? I wonder if you are having the same issue as grpc/grpc-node#610 or googleapis/nodejs-dialogflow#314 |
The same issue!
1 | "use strict"; Sorry my bad English. |
@trwong @NoCtrlZ1110 Can one of you make a code repo with this problem? I'm not familiar with react and having a code repo with this problem would help me solve it. |
Trying to use this in a Vue App i get this error: ` ERROR Failed to compile with 4 errors 7:18:00 PM These dependencies were not found:
|
@runemy Can you make a code repo with this problem? I'm not familiar with vue and having a code repo with this problem would help me solve it. |
Actually this might be the problem sindresorhus/got#1400
openGraphScraper uses |
Hi @jshemas Yes, here is a code repo with this problem: https://github.com/runemy/vue-opengraph |
This is awesome! Thanks for making this repo. I think i'm going to make a new module called |
hello, is there any solutions for this issue? |
Still working on this issue. I got |
Okay. I made a new lib here -> https://github.com/jshemas/openGraphScraperLite and forked the example vue project here -> https://github.com/jshemas/vue-opengraph I keep getting a bunch of CORS errors, but I think I'm getting really close to getting this to work. |
So, I'm starting to think this isn't really possible to do these types of requests in the browser. This article has a good explanation.
|
Closing this for now. I think the best fix for this problem is to use a backend server to make the requests and then pass in the |
Hi, I'm running into some issues using this package. I'm running
yarn add open-graph-package
and in the code I have:and I get the following error:
I installed http2 with
yarn add http2
but then run into the following error:Let me know if I can provide any additional information to help with this. Thank you!
The text was updated successfully, but these errors were encountered: