getappmap / appmap-js

Client libraries for AppMap
49 stars 17 forks source link

Indexer exits with `Error: UNKNOWN: unknown error, lstat` #897

Closed symwell closed 1 year ago

symwell commented 1 year ago

Tracking as a separate issue this error first described in https://github.com/getappmap/appmap-js/issues/881

Error: UNKNOWN: unknown error, lstat 'c:\Users\User\Dev\MyProject'
Emitted 'error' event on FSWatcher instance at:
at FSWatcher._handleError (c:\Users\User\AppData\Roaming\Code\User\globalStorage\appland.appmap\node_modules\chokidar\index.js:647:10)
at NodeFsHandler._boundHandleError (c:\Users\User\AppData\Roaming\Code\User\globalStorage\appland.appmap\node_modules\chokidar\lib\nodefs-handler.js:303:43)
at ReaddirpStream.emit (node:events:526:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4094,
code: 'UNKNOWN',
syscall: 'lstat',
path: 'c:\\Users\\User\\Dev\\MyProject'
}

Here's one instance%20and%20session_Id%20%3D%3D%20%22a3654b3a-0ebe-487f-bcde-b0ed6b4317f51669994176030%22%7C%20extend%20logLen%3Dstrlen(customDimensions%5B%22appmap.cli.log%22%5D)%2Clog%3DcustomDimensions%5B%22appmap.cli.log%22%5D%2Cexception%3DcustomDimensions%5B%22appmap.debug.exception%22%5D%7C%20project-reorder%20timestamp%2Cname%2Cuser_Id%2ClogLen%2Clog%2Cexception) of this happening. Here's another%20and%20session_Id%20%3D%3D%20%226b7ddd2d-7ab7-457f-b308-b9a63dc3feba1670591213519%22%7C%20extend%20logLen%3Dstrlen(customDimensions%5B%22appmap.cli.log%22%5D)%2Clog%3DcustomDimensions%5B%22appmap.cli.log%22%5D%2Cexception%3DcustomDimensions%5B%22appmap.debug.exception%22%5D%7C%20project-reorder%20timestamp%2Cname%2Cuser_Id%2ClogLen%2Clog%2Cexception).

There's a claim of this error being the result of file corruption down to the NTFS level.

appland-release commented 1 year ago

:tada: This issue has been resolved in version @appland/appmap-v3.55.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: