-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
i try to use but i have error #62
Comments
any solution for this issue? @lewisdonovan |
I can't replicate your issue. I've created a minimum example in this repo: https://github.com/lewisdonovan/gns-example If so, there's likely something wrong with your setup. Providing a minimum example of your non-working code will help me to identify the issue for you. If the minimum example I've provided doesn't work, then it's likely an incompatibility with your environment. If you can share details of what system/server environment you're running this on, I can help you to find the issue. |
this repo: https://github.com/lewisdonovan/gns-example is working but my project is using nestjs so i use this for api getting news and then response back |
Ok, great that we've narrowed that down. So now if you can provide a minimum reproducible example?
☝️ |
Hi, I wonder if you have solved this yet. I use nest js and stumble into the same problem. For me it's because how NestJs or Ts look for type. Converting: into
solved the issue for me |
I'm also using nextjs and also have the same error
I'm seeing if I can get around it (in a bad way) by creating my own type in global.d.ts |
Having the same issue with NestJS and this work for me |
I havent had chance to look yet, but my projects are strictly using ESM so
that wouldnt work for me unfortunately
…On Fri, 3 Jan 2025 at 11:00, Lecat Baptiste ***@***.***> wrote:
Hi, I wonder if you have solved this yet. I use nest js and stumble into
the same problem. For me it's because how NestJs or Ts look for type.
Converting: import googleNewsScraper from 'google-news-scraper';
into
const googleNewsScraper = require('google-news-scraper');
solved the issue for me
Having the same issue with NestJS and this work for me
—
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BEK7LOTWNBDPVOIPWZ3NWY32IZUV3AVCNFSM6AAAAABQ74WUU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRZGA2DQMBQG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
and this is my code
by the i use nestjs typescript
The text was updated successfully, but these errors were encountered: