Skip to content

"Cannot read property 'filename' of undefined" error when using "--experimental-modules" flag #61

@jvmunhoz

Description

@jvmunhoz

Screenshot_1

I'm using Windows 10 Pro, npm version 6.9.0, node 12.4.0 and require-dir 1.2.0

As soon as I go back to using require("") without the --experimental-modules flag it works again.

I'm relatively new to javascript, so it may be a rookie mistake by me 😝

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions