Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
broofa opened this issue May 6, 2022 · 1 comment · Fixed by #359

Comments

@broofa
Copy link

broofa commented May 6, 2022

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
@MHuiG
Copy link

MHuiG commented May 16, 2022

@iChenLei iChenLei mentioned this issue May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants