Skip to content

always get ENOENT, stat #2407

@raitucarp

Description

@raitucarp

When I use https://github.com/baryshev/look/ or nodetime, I always get error such this:

0: at SendStream.sendFile (D:\Work\Node\aa\node_modules\express\node_modules\send\index.js:575:6)
1: at SendStream.pipe (D:\Work\Node\aa\node_modules\express\node_modules\send\index.js:473:8)
2: at serveStatic (D:\Work\Node\aa\node_modules\express\node_modules\serve-static\index.js:107:12)
3: at Layer.handle [as handle_request] (D:\Work\Node\aa\node_modules\express\lib\router\layer.js:82:5)
4: at trim_prefix (D:\Work\Node\aa\node_modules\express\lib\router\index.js:270:13)
5: at D:\Work\Node\aa\node_modules\express\lib\router\index.js:237:9
6: at Function.proto.process_params (D:\Work\Node\aa\node_modules\express\lib\router\index.js:312:12)
Error: ENOENT, stat 'D:\Work\Node\aa\test\somepath\test.html'

how to handle this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions