-
-
Notifications
You must be signed in to change notification settings - Fork 37.6k
stderr redirection breaks require #11257
Copy link
Copy link
Closed
Labels
confirmed-bugIssues and PRs for confirmed bugs.Issues and PRs for confirmed bugs.fsIssues and PRs related to file-system APIs and the fs module.Issues and PRs related to file-system APIs and the fs module.
Description
Activity
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues and PRs for confirmed bugs.Issues and PRs for confirmed bugs.fsIssues and PRs related to file-system APIs and the fs module.Issues and PRs related to file-system APIs and the fs module.
related workaround: rtfeldman/node-test-runner#106, rtfeldman/node-test-runner@959fda0
We noticed that when redirecting stderr AND receiving input script via pipe,
requiredoesn't work with packages in package.json.Minimal test case: (given a
package.jsonthat includes ajv).expected output: nothing, it's just a require
actual output:
also tested on another Ubuntu 14.04 server. Was not a problem using node 6.9.5