Skip to content

Commit

Permalink
Merge pull request #5084 from Shopify/shauns/12-11-fix_exceptions_rai…
Browse files Browse the repository at this point in the history
…sed_for_fs_level_errors

Fix exceptions raised for FS level errors
  • Loading branch information
shauns authored Dec 11, 2024
2 parents 39e1017 + f4a6f95 commit f95c1fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cli-kit/src/public/node/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,12 @@ export function cleanSingleStackTracePath(filePath: string): string {
function errorMessageImpliesEnvironmentIssue(message: string): boolean {
const environmentIssueMessages = [
'EPERM: operation not permitted, scandir',
'EPERM: operation not permitted, rename',
'EACCES: permission denied',
'EPERM: operation not permitted, symlink',
'This version of npm supports the following node versions',
'EBUSY: resource busy or locked, rmdir',
'EBUSY: resource busy or locked',
'ENOTEMPTY: directory not empty',
'getaddrinfo ENOTFOUND',
'Client network socket disconnected before secure TLS connection was established',
'spawn EPERM',
Expand Down

0 comments on commit f95c1fc

Please sign in to comment.