-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.errorsIssues and PRs related to JavaScript errors originated in Node.js core.Issues and PRs related to JavaScript errors originated in Node.js core.moduleIssues and PRs related to the module subsystem.Issues and PRs related to the module subsystem.
Description
- Version: All
- Platform: N/A
- Subsystem: N/A
The error code MODULE_NOT_FOUND
doesn't seem to be documented (see https://nodejs.org/dist/latest-v8.x/docs/api/errors.html#nodejs-error-codes). Having it officially supported/documented will help us safely implement "tryRequire" operations for optional files.
(By the way, I'm not finding where the API documents live. Maybe the docs for how to update docs could be surfaced better so this could have taken the form of a PR.)
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.errorsIssues and PRs related to JavaScript errors originated in Node.js core.Issues and PRs related to JavaScript errors originated in Node.js core.moduleIssues and PRs related to the module subsystem.Issues and PRs related to the module subsystem.