BUG: FS File Protocol -4058 path Error after Photoshop 26.8

In previous versions of Photoshop, such as 25, and up to 26.7, on Windows you could use a path separator or no path separator with the File protocol and it would work fine:

Now in Photoshop 26.8 (UXP v8.3.0) Using a separator will throw a -4058 error in Windows paths:

Appears to be a bug in the latest UXP version.

This impacts all FS methods like lstat, mkdir, and more.

3 Likes

-4058 = "ENOENT" = "no such file or directory"

“fs” module in UXP unlike in NodeJS does not throw error messages or callstack. It throws only number without callstack.

Confirmed that this is a UXP bug. We are working on it so that it is available in the July PS release.

1 Like

Thanks for confirming @indranil!

Yea noticed that, which is unfortunate but workable. Main issue here is just that paths are throwing errors in the new version that worked in the old version.