remco
October 29, 2026, 2:39pm
1
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
Jarda
October 29, 2026, 3:29pm
2
Something like should work. Is that AE only issue? Or can you reproduce in PS as well?
remco
October 29, 2026, 3:33pm
3
Yeah I realised it’s working in another plugin. Have to investigate it further.
remco
October 29, 2026, 4:47pm
5
Permissions were the issue, so the error message is confusing. It should say this is a permissions issue… Let me edit this ticket.
Jarda
October 29, 2026, 5:12pm
6
Permissions in OS file system or UXP manifest permissions?