Skip to content

EISDIR: illegal operation on a directory, fstat ($.isFIFO) #42

Closed

Description

@jaandrle

Describe the bug:

nodejs/node#19831

Technical background (following information can be really helpful 👍):

  • OS: Windows
  • nodejs: 18

Additional context:

Error: EISDIR: illegal operation on a directory, fstat
code: 1
stack:
    at fstatSync (node:fs:1492:3)
    at Array.isFIFO (file:///C:/Users/jirin/Documents/GitHub/DGF-Certified-Supervisory-Academy/build/node_modules/nodejsscript/src/$.js:27:31)
    at Object.[stdin] (file:///C:/Users/jirin/Documents/GitHub/DGF-Certified-Supervisory-Academy/build/node_modules/nodejsscript/src/$.js:41:11)
    at main (file:///C:/Users/jirin/Documents/GitHub/DGF-Certified-Supervisory-Academy/build/node_modules/nodejsscript/bin/index.mjs:40:26)
    at file:///C:/Users/jirin/Documents/GitHub/DGF-Certified-Supervisory-Academy/build/node_modules/nodejsscript/bin/index.mjs:55:3

Activity

  1. added a commit that references this issue on Nov 26, 2024
  2. jaandrle commented on Nov 27, 2024

    @jaandrle
    OwnerAuthor

    This is node thing, but since v1.0.3 it shouldn’t block execution of njs. (see https://github.com/jaandrle/nodejsscript/releases/tag/v1.0.3)

    GitHub
    v1.0.2 with these fixes:

    fixes failed execution due to the Windows error #42
    fixes docs typos
    updates deps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions