Skip to content

Importing nib spews warnings about "Accessing non-existent property '<property>' of module exports inside circular dependency" #356

Closed
@broofa

Description

@broofa

See recipe below. Looks like this is a result of nodejs/node#29935 landing in node 14.

$ nvm use 14
Now using node v14.19.1 (npm v6.14.16)

$ npm install nib

added 21 packages, and audited 22 packages in 2s

found 0 vulnerabilities

$ node -e "require('nib')"
(node:25435) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:25435) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:25435) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:25435) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:25435) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:25435) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency

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