René's URL Explorer Experiment


Title: module: print nicer error message on syntax error by bnoordhuis · Pull Request #17281 · nodejs/node · GitHub

Open Graph Title: module: print nicer error message on syntax error by bnoordhuis · Pull Request #17281 · nodejs/node

X Title: module: print nicer error message on syntax error by bnoordhuis · Pull Request #17281 · nodejs/node

Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.

Open Graph Description: Fixes: #17277 CI: https://ci.nodejs.org/job/node-test-pull-request/11682/

X Description: Fixes: #17277 CI: https://ci.nodejs.org/job/node-test-pull-request/11682/

Opengraph URL: https://github.com/nodejs/node/pull/17281

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f00c8abd-d70f-a29d-d547-311fd69b1faf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8ED4:223E3:975280:BF9EBD:6990F0F3
html-safe-nonce96feb8be9fe2da8b660b6ae58dd6c33d44eda83299a7428a64df8e41a5da8ac7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUQ0OjIyM0UzOjk3NTI4MDpCRjlFQkQ6Njk5MEYwRjMiLCJ2aXNpdG9yX2lkIjoiMzM4MjI2MjUzOTY5NTUxNjAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1ce63f885cf295d0a284137c457bd4e537b8e9bb54444424b528528432067fca
hovercard-subject-tagpull_request:154459371
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/17281/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f91326b12f595f06ce17a84fbe8d3f56a3462bf75b9c594dd5a318ab059e1107/nodejs/node/pull/17281
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f91326b12f595f06ce17a84fbe8d3f56a3462bf75b9c594dd5a318ab059e1107/nodejs/node/pull/17281
og:image:altFixes: #17277 CI: https://ci.nodejs.org/job/node-test-pull-request/11682/
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebnoordhuis
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-cache
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
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/17281#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F17281
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F17281
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/17281
Reloadhttps://github.com/nodejs/node/pull/17281
Reloadhttps://github.com/nodejs/node/pull/17281
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/17281
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 34.7k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 116k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.7k https://github.com/nodejs/node/issues
Pull requests 705 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects 3 https://github.com/nodejs/node/projects
Security 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
bnoordhuishttps://github.com/bnoordhuis
nodejs:masterhttps://github.com/nodejs/node/tree/master
bnoordhuis:fix17277https://github.com/bnoordhuis/io.js/tree/fix17277
Conversationhttps://github.com/nodejs/node/pull/17281
Commits1 (1)https://github.com/nodejs/node/pull/17281/commits
Checkshttps://github.com/nodejs/node/pull/17281/checks
Files changedhttps://github.com/nodejs/node/pull/17281/files
module: print nicer error message on syntax errorhttps://github.com/nodejs/node/pull/17281#top
bnoordhuishttps://github.com/bnoordhuis
nodejs:masterhttps://github.com/nodejs/node/tree/master
bnoordhuis:fix17277https://github.com/bnoordhuis/io.js/tree/fix17277
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
Nov 24, 2017https://github.com/nodejs/node/pull/17281#issue-276492253
Please reload this pagehttps://github.com/nodejs/node/pull/17281
#17277https://github.com/nodejs/node/issues/17277
https://ci.nodejs.org/job/node-test-pull-request/11682/https://ci.nodejs.org/job/node-test-pull-request/11682/
Please reload this pagehttps://github.com/nodejs/node/pull/17281
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
c++ https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Ac%2B%2B
module https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Amodule
tools https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Atools
Nov 24, 2017https://github.com/nodejs/node/pull/17281#event-1356433417
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
Nov 24, 2017 https://github.com/nodejs/node/pull/17281#pullrequestreview-78814923
View reviewed changes https://github.com/nodejs/node/pull/17281/files
src/module_wrap.cchttps://github.com/nodejs/node/pull/17281/files#diff-ea501528b0419a0e268dba0a111869879926d671b7e4240a7f8177e9eb384a4b
bnoordhuishttps://github.com/bnoordhuis
Nov 24, 2017https://github.com/nodejs/node/pull/17281#discussion_r152884596
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/17281
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Nov 24, 2017 https://github.com/nodejs/node/pull/17281#pullrequestreview-78818075
View reviewed changes https://github.com/nodejs/node/pull/17281/files
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
Nov 24, 2017 https://github.com/nodejs/node/pull/17281#ref-issue-276451450
node --experimental-modules don't give the code where to find the error, just Invalid or unexpected token. Eg v.8.9.1 #17277 https://github.com/nodejs/node/issues/17277
https://github.com/evanlucas
evanlucashttps://github.com/evanlucas
Nov 24, 2017 https://github.com/nodejs/node/pull/17281#pullrequestreview-78975594
View reviewed changes https://github.com/nodejs/node/pull/17281/files
https://github.com/targos
targoshttps://github.com/targos
Nov 24, 2017 https://github.com/nodejs/node/pull/17281#pullrequestreview-78976063
View reviewed changes https://github.com/nodejs/node/pull/17281/files
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
Nov 26, 2017 https://github.com/nodejs/node/pull/17281#pullrequestreview-79036889
View reviewed changes https://github.com/nodejs/node/pull/17281/files
https://github.com/bnoordhuis
module: print better message on esm syntax errorhttps://github.com/nodejs/node/pull/17281/commits/597b3d1941b09d20781b56c6f154cd39acb8dcb0
597b3d1https://github.com/nodejs/node/pull/17281/commits/597b3d1941b09d20781b56c6f154cd39acb8dcb0
nodejs#17277https://github.com/nodejs/node/issues/17277
nodejs#17281https://github.com/nodejs/node/pull/17281
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
force-pushedhttps://github.com/nodejs/node/compare/7330258163e5f3118c7dc5a758a600dc4d0c23fd..597b3d1941b09d20781b56c6f154cd39acb8dcb0
7330258https://github.com/nodejs/node/commit/7330258163e5f3118c7dc5a758a600dc4d0c23fd
597b3d1https://github.com/nodejs/node/commit/597b3d1941b09d20781b56c6f154cd39acb8dcb0
Compare https://github.com/nodejs/node/compare/7330258163e5f3118c7dc5a758a600dc4d0c23fd..597b3d1941b09d20781b56c6f154cd39acb8dcb0
November 29, 2017 11:29https://github.com/nodejs/node/pull/17281#event-1363323837
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
Nov 29, 2017https://github.com/nodejs/node/pull/17281#event-1363323962
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
November 29, 2017 11:29https://github.com/nodejs/node/pull/17281#event-1363323967
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
597b3d1https://github.com/nodejs/node/commit/597b3d1941b09d20781b56c6f154cd39acb8dcb0
Nov 29, 2017https://github.com/nodejs/node/pull/17281#event-1363324691
MylesBorinshttps://github.com/MylesBorins
Dec 12, 2017 https://github.com/nodejs/node/pull/17281#ref-commit-8002fbb
https://github.com/bnoordhuis
https://github.com/MylesBorins
module: print better message on esm syntax errorhttps://github.com/nodejs/node/commit/8002fbbb2a0a1db858f7f4e6d123e9c625293c4b
8002fbbhttps://github.com/nodejs/node/commit/8002fbbb2a0a1db858f7f4e6d123e9c625293c4b
#17277https://github.com/nodejs/node/issues/17277
#17281https://github.com/nodejs/node/pull/17281
MylesBorinshttps://github.com/MylesBorins
Dec 12, 2017 https://github.com/nodejs/node/pull/17281#ref-commit-b719b77
https://github.com/bnoordhuis
https://github.com/MylesBorins
module: print better message on esm syntax errorhttps://github.com/nodejs/node/commit/b719b77215bea946c60b5369f95fccba0879ab0e
b719b77https://github.com/nodejs/node/commit/b719b77215bea946c60b5369f95fccba0879ab0e
#17277https://github.com/nodejs/node/issues/17277
#17281https://github.com/nodejs/node/pull/17281
https://github.com/MylesBorins
MylesBorinshttps://github.com/MylesBorins
Dec 12, 2017 https://github.com/nodejs/node/pull/17281#ref-pullrequest-281312309
v9.3.0 proposal #17631 https://github.com/nodejs/node/pull/17631
https://github.com/gibfahn
gibfahnhttps://github.com/gibfahn
dont-land-on-v6.x https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Adont-land-on-v6.x
land-on-v8.x https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aland-on-v8.x
Dec 19, 2017https://github.com/nodejs/node/pull/17281#event-1395130019
https://github.com/gibfahn
gibfahnhttps://github.com/gibfahn
Dec 19, 2017https://github.com/nodejs/node/pull/17281#issuecomment-352915535
Please reload this pagehttps://github.com/nodejs/node/pull/17281
targoshttps://github.com/targos
Dec 20, 2017 https://github.com/nodejs/node/pull/17281#ref-commit-f4dac9d
https://github.com/targos
module: print better message on esm import errorhttps://github.com/targos/node/commit/f4dac9d716d8995eecea34893b3d757a04302d24
f4dac9dhttps://github.com/targos/node/commit/f4dac9d716d8995eecea34893b3d757a04302d24
nodejs#17785https://github.com/nodejs/node/issues/17785
nodejs#17281https://github.com/nodejs/node/pull/17281
https://github.com/targos
targoshttps://github.com/targos
Dec 20, 2017 https://github.com/nodejs/node/pull/17281#ref-pullrequest-283506515
module: print better message on esm import error #17786 https://github.com/nodejs/node/pull/17786
targoshttps://github.com/targos
Dec 24, 2017 https://github.com/nodejs/node/pull/17281#ref-commit-359819e
https://github.com/targos
module: print better message on esm import errorhttps://github.com/targos/node/commit/359819e76052f456beeefeef9bed4062b6c9e7b0
359819ehttps://github.com/targos/node/commit/359819e76052f456beeefeef9bed4062b6c9e7b0
nodejs#17786https://github.com/nodejs/node/pull/17786
nodejs#17785https://github.com/nodejs/node/issues/17785
nodejs#17281https://github.com/nodejs/node/pull/17281
MylesBorinshttps://github.com/MylesBorins
Jan 8, 2018 https://github.com/nodejs/node/pull/17281#ref-commit-83afd13
https://github.com/targos
https://github.com/MylesBorins
module: print better message on esm import errorhttps://github.com/nodejs/node/commit/83afd134eac2da9200338493e6a057d799ccba86
83afd13https://github.com/nodejs/node/commit/83afd134eac2da9200338493e6a057d799ccba86
#17786https://github.com/nodejs/node/pull/17786
#17785https://github.com/nodejs/node/issues/17785
#17281https://github.com/nodejs/node/pull/17281
MylesBorinshttps://github.com/MylesBorins
Jan 9, 2018 https://github.com/nodejs/node/pull/17281#ref-commit-d4d3ff4
https://github.com/targos
https://github.com/MylesBorins
module: print better message on esm import errorhttps://github.com/nodejs/node/commit/d4d3ff44fc1e12ec1265967d7cc41a4e75ca0777
d4d3ff4https://github.com/nodejs/node/commit/d4d3ff44fc1e12ec1265967d7cc41a4e75ca0777
#17786https://github.com/nodejs/node/pull/17786
#17785https://github.com/nodejs/node/issues/17785
#17281https://github.com/nodejs/node/pull/17281
MylesBorinshttps://github.com/MylesBorins
Jan 9, 2018 https://github.com/nodejs/node/pull/17281#ref-commit-3b2d8cb
https://github.com/targos
https://github.com/MylesBorins
module: print better message on esm import errorhttps://github.com/nodejs/node/commit/3b2d8cba2346fc30d080b1a1316e2de8a5a00fe9
3b2d8cbhttps://github.com/nodejs/node/commit/3b2d8cba2346fc30d080b1a1316e2de8a5a00fe9
#17786https://github.com/nodejs/node/pull/17786
#17785https://github.com/nodejs/node/issues/17785
#17281https://github.com/nodejs/node/pull/17281
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
Jun 4, 2018 https://github.com/nodejs/node/pull/17281#ref-issue-328767401
Syntax errors are misattributed to ModuleRequest.js:33:13 #21100 https://github.com/nodejs/node/issues/21100
https://github.com/jasnell
jasnellhttps://github.com/jasnell
Aug 17, 2018https://github.com/nodejs/node/pull/17281#issuecomment-413978617
Please reload this pagehttps://github.com/nodejs/node/pull/17281
https://github.com/MylesBorins
MylesBorinshttps://github.com/MylesBorins
dont-land-on-v8.x https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Adont-land-on-v8.x
backport-requested-v8.x https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Abackport-requested-v8.x
Aug 17, 2018https://github.com/nodejs/node/pull/17281#event-1795504817
https://github.com/danfuzz
danfuzzhttps://github.com/danfuzz
Dec 14, 2022 https://github.com/nodejs/node/pull/17281#ref-issue-1497224119
No source info available for syntax error caused during dynamic import #45862 https://github.com/nodejs/node/issues/45862
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F17281
https://github.com/addaleax
addaleax https://github.com/addaleax
https://github.com/nodejs/node/pull/17281/files/7330258163e5f3118c7dc5a758a600dc4d0c23fd
https://github.com/targos
targos https://github.com/targos
https://github.com/nodejs/node/pull/17281/files/7330258163e5f3118c7dc5a758a600dc4d0c23fd
https://github.com/cjihrig
cjihrig https://github.com/cjihrig
https://github.com/nodejs/node/pull/17281/files/7330258163e5f3118c7dc5a758a600dc4d0c23fd
https://github.com/evanlucas
evanlucas https://github.com/evanlucas
https://github.com/nodejs/node/pull/17281/files/7330258163e5f3118c7dc5a758a600dc4d0c23fd
c++ https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Ac%2B%2B
module https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Amodule
tools https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Atools
Please reload this pagehttps://github.com/nodejs/node/pull/17281
https://github.com/bnoordhuis
https://github.com/gibfahn
https://github.com/jasnell
https://github.com/evanlucas
https://github.com/addaleax
https://github.com/targos
https://github.com/cjihrig
https://github.com/MylesBorins
https://github.com/nodejs-github-bot
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.