René's URL Explorer Experiment


Title: ReferenceError: exports is not defined on NestJS project · Issue #21 · dataforseo/TypeScriptClient · GitHub

Open Graph Title: ReferenceError: exports is not defined on NestJS project · Issue #21 · dataforseo/TypeScriptClient

X Title: ReferenceError: exports is not defined on NestJS project · Issue #21 · dataforseo/TypeScriptClient

Description: Description In a NestJS project, the package fails at runtime with the error: file:///demo/node_modules/.pnpm/dataforseo-client@2.0.17/node_modules/dataforseo-client/dist/cjs/index.js:2 Object.defineProperty(exports, "__esModule", { valu...

Open Graph Description: Description In a NestJS project, the package fails at runtime with the error: file:///demo/node_modules/.pnpm/dataforseo-client@2.0.17/node_modules/dataforseo-client/dist/cjs/index.js:2 Object.defi...

X Description: Description In a NestJS project, the package fails at runtime with the error: file:///demo/node_modules/.pnpm/dataforseo-client@2.0.17/node_modules/dataforseo-client/dist/cjs/index.js:2 Object.defi...

Opengraph URL: https://github.com/dataforseo/TypeScriptClient/issues/21

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ReferenceError: exports is not defined on NestJS project","articleBody":"### Description\n\nIn a [NestJS](https://nestjs.com/) project, the package fails at runtime with the error:\n\n```\nfile:///demo/node_modules/.pnpm/dataforseo-client@2.0.17/node_modules/dataforseo-client/dist/cjs/index.js:2\nObject.defineProperty(exports, \"__esModule\", { value: true });\n                      ^\n\nReferenceError: exports is not defined\n    at file:///demo/node_modules/.pnpm/dataforseo-client@2.0.17/node_modules/dataforseo-client/dist/cjs/index.js:2:23\n    at ModuleJobSync.runSync (node:internal/modules/esm/module_job:400:35)\n    at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:427:47)\n    at loadESMFromCJS (node:internal/modules/cjs/loader:1561:24)\n    at Module._compile (node:internal/modules/cjs/loader:1712:5)\n    at Object..js (node:internal/modules/cjs/loader:1895:10)\n    at Module.load (node:internal/modules/cjs/loader:1465:32)\n    at Function._load (node:internal/modules/cjs/loader:1282:12)\n    at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n    at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n```\n\n### Environment\n\n- Node.js version: 22.16\n- dataforseo-client version: 2.0.17\n\n### Steps to Reproduce\n\n1. Set up a new NestJS project with:\n```\npnpm add -g @nestjs/cli\nnest new demo\n```\n2. Install dataforseo-client@2.0.17\n3. Add the following example code to the main.ts file for testing:\n```\nimport { BacklinksApi } from 'dataforseo-client';\nnew BacklinksApi();\n```\n4. Run the project with `pnpm start:dev` to see the error.\n\n### Expected Behavior\nImports should work without throwing an error.\n\n### Current Behavior\nThe module fails to load with an export-undefined error.\n\n**Note:** The last version of dataforseo-client I'm able to use without issue is **1.0.31**.","author":{"url":"https://github.com/sabbirrahman","@type":"Person","name":"sabbirrahman"},"datePublished":"2026-01-24T06:48:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/21/TypeScriptClient/issues/21"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:99707e92-37e5-12f0-75cf-9d2f5ebb39a3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBFCA:4FC34:114E389:175B0D1:69813421
html-safe-noncee881f81603fc3e9b1776bd4bacb5964f590cde99abe3b740f9fa6f28bbf21bb3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkNBOjRGQzM0OjExNEUzODk6MTc1QjBEMTo2OTgxMzQyMSIsInZpc2l0b3JfaWQiOiI0Nzc2MjE5OTQ1NDA1Nzc4MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac638497f80072888d33d5881d79d4aa9d895f53136a1a675aed0557865e344454
hovercard-subject-tagissue:3850431487
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/dataforseo/TypeScriptClient/21/issue_layout
twitter:imagehttps://opengraph.githubassets.com/49b409056830ae40781e5c9d2a715d27f87de05e05fa22172d2a4fe83a47158b/dataforseo/TypeScriptClient/issues/21
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/49b409056830ae40781e5c9d2a715d27f87de05e05fa22172d2a4fe83a47158b/dataforseo/TypeScriptClient/issues/21
og:image:altDescription In a NestJS project, the package fails at runtime with the error: file:///demo/node_modules/.pnpm/dataforseo-client@2.0.17/node_modules/dataforseo-client/dist/cjs/index.js:2 Object.defi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesabbirrahman
hostnamegithub.com
expected-hostnamegithub.com
None39fe8101494cbb823c09b619b68c80cd4d05ab7279997038dbe06bb91608abe1
turbo-cache-controlno-preview
go-importgithub.com/dataforseo/TypeScriptClient git https://github.com/dataforseo/TypeScriptClient.git
octolytics-dimension-user_id29703714
octolytics-dimension-user_logindataforseo
octolytics-dimension-repository_id766643029
octolytics-dimension-repository_nwodataforseo/TypeScriptClient
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id766643029
octolytics-dimension-repository_network_root_nwodataforseo/TypeScriptClient
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released5b34a4e4898b066c629879feb4b184bc471d6a7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/issues/21#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdataforseo%2FTypeScriptClient%2Fissues%2F21
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdataforseo%2FTypeScriptClient%2Fissues%2F21
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=dataforseo%2FTypeScriptClient
Reloadhttps://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/issues/21
Reloadhttps://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/issues/21
Reloadhttps://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/issues/21
dataforseo https://patch-diff.githubusercontent.com/dataforseo
TypeScriptClienthttps://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fdataforseo%2FTypeScriptClient
Fork 5 https://patch-diff.githubusercontent.com/login?return_to=%2Fdataforseo%2FTypeScriptClient
Star 29 https://patch-diff.githubusercontent.com/login?return_to=%2Fdataforseo%2FTypeScriptClient
Code https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient
Issues 1 https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/issues
Pull requests 0 https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/pulls
Actions https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/actions
Projects 0 https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/projects
Security 0 https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/security
Insights https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/pulse
Code https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient
Issues https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/issues
Pull requests https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/pulls
Actions https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/actions
Projects https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/projects
Security https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/security
Insights https://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/dataforseo/TypeScriptClient/issues/21
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/dataforseo/TypeScriptClient/issues/21
ReferenceError: exports is not defined on NestJS projecthttps://patch-diff.githubusercontent.com/dataforseo/TypeScriptClient/issues/21#top
https://github.com/sabbirrahman
https://github.com/sabbirrahman
sabbirrahmanhttps://github.com/sabbirrahman
on Jan 24, 2026https://github.com/dataforseo/TypeScriptClient/issues/21#issue-3850431487
NestJShttps://nestjs.com/
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.