skygragon/leetcode-cli

Winston which is dep of prompt will make node 14 fail

Gnosnay opened this issue · 1 comments

Problem Summary

env: macos 10.15.7
node version: v15.11.0
emit warning message:

(node:2705) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)

How to reproduce

> leetcode stat

 Easy	 56/422 ( 13.27 %)  ████░░░░░░░░░░░░░░░░░░░░░░░░░░
 Medium	 89/763 ( 11.66 %)  ████░░░░░░░░░░░░░░░░░░░░░░░░░░
 Hard	 20/320 (  6.25 %)  ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░

(node:2705) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)

issue

flatiron/prompt#199

Running npm update fixed the issue for me