Title: Use consistent error codes for MODULE_NOT_FOUND · Issue #360 · nodejs/modules · GitHub
Open Graph Title: Use consistent error codes for MODULE_NOT_FOUND · Issue #360 · nodejs/modules
X Title: Use consistent error codes for MODULE_NOT_FOUND · Issue #360 · nodejs/modules
Description: Right now ESM uses code: 'ERR_MODULE_NOT_FOUND' while CJS throws a similar error with code: 'MODULE_NOT_FOUND'. So far that looks to be accidental and worth fixing so code that catches these kinds of mistakes doesn't have to worry about ...
Open Graph Description: Right now ESM uses code: 'ERR_MODULE_NOT_FOUND' while CJS throws a similar error with code: 'MODULE_NOT_FOUND'. So far that looks to be accidental and worth fixing so code that catches these kinds ...
X Description: Right now ESM uses code: 'ERR_MODULE_NOT_FOUND' while CJS throws a similar error with code: 'MODULE_NOT_FOUND'. So far that looks to be accidental and worth fixing so code that catc...
Opengraph URL: https://github.com/nodejs/modules/issues/360
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use consistent error codes for MODULE_NOT_FOUND","articleBody":"Right now ESM uses `code: 'ERR_MODULE_NOT_FOUND'` while CJS throws a similar error with `code: 'MODULE_NOT_FOUND'`. So far that looks to be accidental and worth fixing so code that catches these kinds of mistakes doesn't have to worry about which loader happened to throw it.","author":{"url":"https://github.com/hybrist","@type":"Person","name":"hybrist"},"datePublished":"2019-07-24T17:20:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/360/modules/issues/360"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:41dd19a3-f0ed-b01b-4522-b651c9add6e2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3E2:1F01:1AEBE40:248FD69:6A50534D |
| html-safe-nonce | a24ec81bdfff67bc2bd088002cc61265ec8663a96e5dbfb796d269ef7397f9e4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0UyOjFGMDE6MUFFQkU0MDoyNDhGRDY5OjZBNTA1MzREIiwidmlzaXRvcl9pZCI6Ijc4MDc0MTAyMDEyMDA0NDgzMzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 40e5f41d83c68272559cc1cc1ec8af6983b551aa4f45816bdef59d475d8182fb |
| hovercard-subject-tag | issue:472403234 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/modules/360/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6b161a850b8bc3a880ce33f3fca53617b21909a5e32e3e627a398a902f55aa39/nodejs/modules/issues/360 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6b161a850b8bc3a880ce33f3fca53617b21909a5e32e3e627a398a902f55aa39/nodejs/modules/issues/360 |
| og:image:alt | Right now ESM uses code: 'ERR_MODULE_NOT_FOUND' while CJS throws a similar error with code: 'MODULE_NOT_FOUND'. So far that looks to be accidental and worth fixing so code that catches these kinds ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hybrist |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/modules git https://github.com/nodejs/modules.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 119901830 |
| octolytics-dimension-repository_nwo | nodejs/modules |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 119901830 |
| octolytics-dimension-repository_network_root_nwo | nodejs/modules |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5741a45fe07e5f377d0d4c524a92e3056acc51bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width