fs: fsPromises.lchmod throws AssertionError on Ubuntu #21421
Labels
errors
Issues and PRs related to JavaScript errors originated in Node.js core.
experimental
Issues and PRs related to experimental features.
fs
Issues and PRs related to the fs subsystem / file system.
promises
Issues and PRs related to ECMAScript promises.
When I run the below code on Ubuntu 18.04 on Docker, I got the error.
Expected behavior was
Error [ERR_METHOD_NOT_IMPLEMENTED]
but I gotAssertionError [ERR_ASSERTION]
.Does
ERR_METHOD_NOT_IMPLEMENTED()
require arguments likeERR_METHOD_NOT_IMPLEMENTED('lchmod()')
?https://github.com/nodejs/node/blob/master/lib/internal/fs/promises.js#L373
https://github.com/nodejs/node/blob/master/lib/internal/fs/promises.js#L381
The text was updated successfully, but these errors were encountered: