-
Notifications
You must be signed in to change notification settings - Fork 182
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
Failing due to Winston dependency in Node 14 #199
Comments
The package really causes this warning. Made a simple POC. package.json:
server.js:
leads to:
|
Prompt's dependency winston is causing a warning in the console: > (node:15613) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency This has been raised as an issue on prompt's GitHub repo [1] but given the last release of prompt was 4 years ago, I think it makes sense to move away to an alternative that's actively maintained. [1]: flatiron/prompt#199
Prompt's dependency winston is causing a warning in the console: > (node:15613) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency This has been raised as an issue on prompt's GitHub repo [1] but given the last release of prompt was 4 years ago, I think it makes sense to move away to an alternative that's actively maintained. [1]: flatiron/prompt#199
Winston version 2.4.5 fixes this issue (see winstonjs/winston#1797 (comment)). The |
If a maintainer of this module that has the capability to publish to the |
Guys, please update |
@gangstead I see you accept pull requests for the repo. Could you please publish 1.1.0 to npm? It was fixed few years ago in |
actually I am not sure whether prompt 1.1.0 fix this problem. cause I do update the prompt version to 1.1.0, but it still install the 2.1.x winston dep |
@Yansongsongsong Can you double check, because 1.1.0 is published and is the same as https://github.com/flatiron/prompt/blob/master/package.json#L25 |
In Node 14 application seeing an error:
Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
I traced this error back to the winston package used within prompt.
I think this is related to this Pull Request in the node engine.
If there is interest in merging a fix I can submit a PR to try and address, but this package no longer appears maintained. Any feedback available on next steps as I believe prompt to be broken in node 14.
The text was updated successfully, but these errors were encountered: