-
assigned issue to
Error from chokidar (/home/KAPILT/slapp3/src/assets): Error: ENOSYS: function not implemented, watch '/home/KAPILT/slapp3/src/assets/.gitkeep'
There are multiple error lines coming on the screen when i doing
ng serve
I am using Putty SSH client .
Error line -
Error from chokidar (/home/KAPILT/slapp3/src/assets): Error: ENOSYS: function not implemented, watch '/home/KAPILT/slapp3/src/assets/.gitkeep'
Comments (7)
-
-
Account Deactivated I opened an issue to update the document – https://github.com/nodejs/node/issues/34607
-
@{557058:54c6b9d7-8bc8-4000-b0f7-c30e024f0298} I ran into this as well, only remedy was to run
yum downgrade nodejs12
: this set me back to 12.16.1 from 12.18.2 and the watch functions began to work again. It’s an AIX issue only.
-
Sorry meant to reply to op see my previous comment
I ran into this as well, only remedy was to run
yum downgrade nodejs12
: this set me back to 12.16.1 from 12.18.2 and the watch functions began to work again. It’s an AIX issue only.
-
Account Deactivated @Edmund Pfeil That is expected. Previous versions of Node.js on IBM i use the supported function watchFile() to provide a FAKE watch() interface. Generally it works although the performance is lower. But the two APIs are not exactly the same. This workaround fails many watch() test cases.
So we decided to remove the FAKE watch() workaround and let the error message shown. Then the IBM i Node.js follows the same rule as the other platforms – https://nodejs.org/docs/latest/api/fs.html#fs_fs_watch_filename_options_listener
-
reporter ok . thanks you. I will check and update.
-
reporter - changed status to resolved
i check and update .
- Log in to comment
I believe this is because
fs.watch()
is not implemented on IBM i, so this unfortunately might be a permanent restriction.We really should update the documentation at https://nodejs.org/docs/latest/api/fs.html#fs_fs_watch_filename_options_listener accordingly
Assigning to @{557058:54c6b9d7-8bc8-4000-b0f7-c30e024f0298} in case there is something that can be done to assist.