Skip to content

Node REPL broken from 11.10.* to 11.11.* on fish shell #26663

Closed
@FabioAntunes

Description

@FabioAntunes
  • Version: 11.10.* to 11.11.*
  • Platform: OSX and Ubuntu 18.10
  • Subsystem: REPL
  • Subsystem: Fish version 2.7.1 and 3.0.1

Since version 11.10.* that node REPL is broken for fish shell.

How to reproduce:
Install fish shell
Install node 11.10.* or 11.11.*
Try to run node in REPL mode.
You will be getting this error message:

internal/modules/cjs/loader.js:615
    throw err;
    ^

Error: Cannot find module '/Users/fabioantunes'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:613:15)
    at Function.Module._load (internal/modules/cjs/loader.js:539:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:801:12)
    at internal/main/run_main_module.js:21:11

This line will change: Error: Cannot find module '/Users/fabioantunes'
Depending on the path you actually run node

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions