-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
v5.2.0: require doesn't work in REPL #4208
Copy link
Copy link
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.moduleIssues and PRs related to the module subsystem.Issues and PRs related to the module subsystem.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.moduleIssues and PRs related to the module subsystem.Issues and PRs related to the module subsystem.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Environment
Problem
When I try to
requirelocally installed "underscore" module, Node throws the following error.With Node v5.1.1 it works fine.
Also, when I directly specify the script path instead of the simple package name
underscore, it can load the module as expected.