Error from chokidar (/home/KAPILT/slapp3/src/assets): Error: ENOSYS: function not implemented, watch '/home/KAPILT/slapp3/src/assets/.gitkeep'

Issue #134 resolved
kapil tiwari created an issue

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)

  1. Edmund Pfeil

    @{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.

  2. Edmund Pfeil

    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.

  3. mengxumx 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

  4. Log in to comment