You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mkdir gone &&cd gone && rmdir ../gone
node --run hi
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
The unreadable node_modules/.bin is skipped and the script runs, as it does when node_modules has no .bin.
A regular error message and exit code 1, like the existing Can't find package.json error.
What do you see instead?
The process aborts with exit code 134:
libc++abi: terminating due to uncaught exception of type std::__1::__fs::filesystem::filesystem_error: filesystem error: in posix_stat: failed to determine attributes for the specified path: Permission denied [".../proj/node_modules/.bin"]
libc++abi: terminating due to uncaught exception of type std::__1::__fs::filesystem::filesystem_error: filesystem error: in current_path: call to getcwd failed: No such file or directory
Activity