Node.js v14 Warning: Accessing non-existent property ___ of module exports inside circular dependency
See original GitHub issueš Bug Report
On Node.js v14 there are a lot of warnings when using docusaurus v2. These warnings do not occur when running Node.js v13.13.0.
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
- Install Node.js v14.0.0
- Run
npm start
on a docusaurus v2 project (looks like it occurs onnpm run build
as well, maybe others)
Expected behavior
No warnings or errors to occur in Node.js v14.0.0 (ie. same behavior as Node.js v13.13.0)
Actual Behavior
Lots of warnings displayed (see logs below).
(node:79706) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:79706) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:79706) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
Your Environment
- Docusaurus version used: ^2.0.0-alpha.50
- Environment name and version (e.g. Chrome 78.0.3904.108, Node.js 10.17.0): Node.js v14.0.0
- Operating system and version (desktop or mobile): Desktop
Reproducible Demo
- Clone https://github.com/dynamoosejs/dynamoose
cd docs
npm install
npm start
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
Accessing non-existent property 'column' of module exports ...
Node 14 with warning (node:31518) Warning: Accessing non-existent property 'column' of module exports inside circular dependency #32987. Closed.
Read more >Accessing non-existent property 'padLevels' of module exports ...
This issue would generally be caused due to incompatible packages or SDKs that you are using. Best is to doĀ ...
Read more >Accessing non-existent property 'count' of module exports ...
Warning : Accessing non-existent property 'count' of module exports inside circular dependency. Welcome to Node. js v14.
Read more >Accessing non-existent property 'INVALID_ALT_NUMBER'
(node:10704) Warning: Accessing non-existent property 'INVALID_ALT_NUMBER' of module exports inside circular dependency (Use `nodeĀ ...
Read more >Accessing non-existent property 'MongoError' of module ...
(node:16496) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency (Use `node --trace-warningsĀ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
same here with mongodb -
(node:9736) Warning: Accessing non-existent property ācountā of module exports inside circular dependency (Use
node --trace-warnings ...
to show where the warning was created) (node:9736) Warning: Accessing non-existent property āfindOneā of module exports inside circular dependency (node:9736) Warning: Accessing non-existent property āremoveā of module exports inside circular dependency (node:9736) Warning: Accessing non-existent property āupdateOneā of module exports inside circular dependencyeverything works thoughā¦ used the exact same code a month ago and had no warnings like the above
Could you please help fix the following issues ?. Thank you
node --trace-warnings ...
to show where the warning was created)