Incorrect error message `fs` methods

Various methods in the fs module throw an Unimplemented method error when permissions aren’t set. This is a confusing error message. It should mention that the current permissions aren’t sufficient.

const fs = require('fs')
await fs.lstat('/path/to/file.txt');
// Throws Error: Unimplemented method: lstat

Something like should work. Is that AE only issue? Or can you reproduce in PS as well?

Yeah I realised it’s working in another plugin. Have to investigate it further.

How about permissions?

Permissions were the issue, so the error message is confusing. It should say this is a permissions issue… Let me edit this ticket.

Permissions in OS file system or UXP manifest permissions?

Manifest permissions