-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
OSX "working directory" mismatch #7545
Copy link
Copy link
Closed
Labels
macosIssues and PRs related to the macOS platform / OSX.Issues and PRs related to the macOS platform / OSX.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.questionIssues that look for answers.Issues that look for answers.
Metadata
Metadata
Assignees
Labels
macosIssues and PRs related to the macOS platform / OSX.Issues and PRs related to the macOS platform / OSX.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.questionIssues that look for answers.Issues that look for answers.
On OSX, if you are a temporary directory, as generated via
require('os').tmpDir()(like/var/folders/ry/c05q3yxs1q98yps6h2_g3gn00000gn/T) It's possoble that the various ways of determining your path do not match:__dirname=>/private/var/folders/ry/c05q3yxs1q98yps6h2_g3gn00000gn/Tprocess.env.PWD=>/var/folders/ry/c05q3yxs1q98yps6h2_g3gn00000gn/Tprocess.cwd()=>/private/var/folders/ry/c05q3yxs1q98yps6h2_g3gn00000gn/T