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

[bug]: winston circular dependency node 14 #1

Closed
xinpingwang opened this issue Apr 18, 2021 · 0 comments
Closed

[bug]: winston circular dependency node 14 #1

xinpingwang opened this issue Apr 18, 2021 · 0 comments

Comments

@xinpingwang
Copy link

Summery

winston circular dependency on node 14 cause program error.

Step to reproduce

$ leetcode version

(node:4926) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
    at emitCircularRequireWarning (internal/modules/cjs/loader.js:650:11)
    at Object.get (internal/modules/cjs/loader.js:664:5)
    at Object.exports.setLevels (.../leetcode-cli/node_modules/winston/lib/winston/common.js:35:14)
    at Object.<anonymous> (.../leetcode-cli/node_modules/winston/lib/winston.js:84:8)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)

Related Info

skygragon#222

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

No branches or pull requests

1 participant