René's URL Explorer Experiment


Title: The function exported using Object.defineProperty in node_modules cannot be found. · Issue #56304 · nodejs/node · GitHub

Open Graph Title: The function exported using Object.defineProperty in node_modules cannot be found. · Issue #56304 · nodejs/node

X Title: The function exported using Object.defineProperty in node_modules cannot be found. · Issue #56304 · nodejs/node

Description: Version v22.9.0 Platform Darwin mini.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:36:26 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T8103 arm64 Subsystem No response What steps will reproduce the bug? related issue #56286 r...

Open Graph Description: Version v22.9.0 Platform Darwin mini.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:36:26 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T8103 arm64 Subsystem No response What steps will r...

X Description: Version v22.9.0 Platform Darwin mini.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:36:26 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T8103 arm64 Subsystem No response What steps will r...

Opengraph URL: https://github.com/nodejs/node/issues/56304

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The function exported using Object.defineProperty in node_modules cannot be found.","articleBody":"### Version\n\nv22.9.0\n\n### Platform\n\n```text\nDarwin mini.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:36:26 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T8103 arm64\n```\n\n### Subsystem\n\n_No response_\n\n### What steps will reproduce the bug?\n\nrelated issue #56286\n\nreproduction code [demo_import.zip](https://github.com/user-attachments/files/18181266/demo_import.zip)\n\n\nAdvance declaration: The code inside the current `node_modules` which is in reproduction code, I did not use any package manager(npm/yarn/pnpm) for installation, but rather manually copied and pasted it in, ensuring the exclusion of interference from package management.\n\nSteps:\nDownload and unzip the reproduction code, and directly execute node index.js.\n\nThis is my execution result\n\n\u003cimg width=\"775\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/25727f18-c65a-46a9-8aaf-fa6ee431efbb\" />\n\n\n\n\n\n### How often does it reproduce? Is there a required condition?\n\n100%\n\n### What is the expected behavior? Why is that the expected behavior?\n\n`shouldImport` This function can be directly accessed in the first layer of the module object, rather than only being obtainable in the internal default object.\n\n\n\n### What do you see instead?\n\nshouldImport was lost during the conversion from cjs to esm\n\n### Additional information\n\nI also tried to execute the code using `bun`(1.1.40), and the result was correct.\n\n![Image](https://github.com/user-attachments/assets/8b47352c-6741-4322-8642-465713c3ae91)\n","author":{"url":"https://github.com/shlroland","@type":"Person","name":"shlroland"},"datePublished":"2024-12-18T12:50:00Z","url":"https://github.com/nodejs/node/issues/56304"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f5ebc5f2-3e8f-6b1f-e8de-b18c0c60c5a7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id84AA:D410B:12231EB:177562F:6B04F64F
html-safe-noncebdfab36c5c3476b699ab86ffa70eb95f9582b0862c4a791fbc9effc35c215e00
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEFBOkQ0MTBCOjEyMjMxRUI6MTc3NTYyRjo2QjA0RjY0RiIsInZpc2l0b3JfaWQiOiIyOTcyMjg2OTAxNTc2NTk1MDIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac844eddaec3a97d4ad6ef4ea4bd7933ca1f767c4032d44ad357d156968dcf19b1
hovercard-subject-tagissue:2747734294
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/nodejs/node/56304/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9a0c10cf5fb1f520d84fe63193a06d8602d44315e948a7f57acc3b7e1ef653f7/nodejs/node/issues/56304
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9a0c10cf5fb1f520d84fe63193a06d8602d44315e948a7f57acc3b7e1ef653f7/nodejs/node/issues/56304
og:image:altVersion v22.9.0 Platform Darwin mini.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:36:26 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T8103 arm64 Subsystem No response What steps will r...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshlroland
hostnamegithub.com
expected-hostnamegithub.com
None2c3971d6ab4be607cf9a26ac26ef0a7bfce380ec2ba14642e64028ad07a492b9
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
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
releaseb3f1d45dee14b3f87c64e9017a9c08d011561786
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/56304#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F56304
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F56304
Sign uphttps://github.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=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/56304
Reloadhttps://github.com/nodejs/node/issues/56304
Reloadhttps://github.com/nodejs/node/issues/56304
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues631 (631)https://github.com/nodejs/node/issues
Pull requests655 (655)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/insights
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/56304
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/56304
The function exported using Object.defineProperty in node_modules cannot be found.https://github.com/nodejs/node/issues/56304#top
modulehttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22module%22
stalehttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stale%22
https://github.com/shlroland
shlrolandhttps://github.com/shlroland
on Dec 18, 2024https://github.com/nodejs/node/issues/56304#issue-2747734294
#56286https://github.com/nodejs/node/issues/56286
demo_import.ziphttps://github.com/user-attachments/files/18181266/demo_import.zip
https://private-user-images.githubusercontent.com/45024986/396914317-25727f18-c65a-46a9-8aaf-fa6ee431efbb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRod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UzUFFLNFpBJTJGMjAyNjExMjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTI0VDAyMjgzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZmNDg1N2VlYmZmYjA5MDJjMmY1NmQxODBkNDg2MzdmOGYxODk4NWFjOTFkYjA2ZjkxNzU4ZTE0ZTgzZDZlMDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.WJHgRFVY5mbkg9IPExo1g2KAfR6H9bWDVPAT7N0cdMA
https://github.com/shlroland
shlrolandhttps://github.com/shlroland
on Dec 18, 2024https://github.com/nodejs/node/issues/56304#issuecomment-2551258141
https://github.com/aduh95
aduh95https://github.com/aduh95
on Dec 18, 2024https://github.com/nodejs/node/issues/56304#issuecomment-2551500662
https://github.com/shlroland
shlrolandhttps://github.com/shlroland
on Dec 19, 2024https://github.com/nodejs/node/issues/56304#issuecomment-2552648448
https://github.com/aduh95
aduh95https://github.com/aduh95
on Dec 19, 2024https://github.com/nodejs/node/issues/56304#issuecomment-2553312780
nodejs/cjs-module-lexerhttps://github.com/nodejs/cjs-module-lexer
the project statushttps://github.com/nodejs/cjs-module-lexer?tab=readme-ov-file#project-status
nodejs/cjs-module-lexer#101https://github.com/nodejs/cjs-module-lexer/issues/101
https://github.com/shlroland
shlrolandhttps://github.com/shlroland
on Dec 19, 2024https://github.com/nodejs/node/issues/56304#issuecomment-2554330246
nodejs/cjs-module-lexerhttps://github.com/nodejs/cjs-module-lexer
the dynamic functionhttps://github.com/nodejs/cjs-module-lexer#getter-exports-parsing
https://github.com/aduh95
aduh95https://github.com/aduh95
on Dec 19, 2024https://github.com/nodejs/node/issues/56304#issuecomment-2554458430
https://github.com/shlroland
shlrolandhttps://github.com/shlroland
on Dec 19, 2024https://github.com/nodejs/node/issues/56304#issuecomment-2554546098
Tracking issue: Named imports from CJS module incorrectly allowed in nodenext microsoft/TypeScript#54018https://github.com/microsoft/TypeScript/issues/54018
"Annotate" exported object to fix named / namespace imports of our API in Node ESM microsoft/TypeScript#57133https://github.com/microsoft/TypeScript/pull/57133
Re-exporting CJS module with export = from ESM via export * causes type error microsoft/TypeScript#51923https://github.com/microsoft/TypeScript/issues/51923
BridgeARhttps://github.com/BridgeAR
modulehttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22module%22
on Sep 12, 2025https://github.com/nodejs/node/issues/56304#event-19661053349
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Apr 26, 2026https://github.com/nodejs/node/issues/56304#issuecomment-4321016715
GitHub Actionshttps://help.github.com/en/actions
github-actionshttps://github.com/apps/github-actions
stalehttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stale%22
on Apr 26, 2026https://github.com/nodejs/node/issues/56304#event-24874119015
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on May 26, 2026https://github.com/nodejs/node/issues/56304#issuecomment-4538951183
GitHub Actionshttps://help.github.com/en/actions
github-actionshttps://github.com/apps/github-actions
not plannedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on May 26, 2026https://github.com/nodejs/node/issues/56304#event-25946303433
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/56304
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/56304
modulehttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22module%22
stalehttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stale%22
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.