-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Error: Cannot find module 'winston' #2060
Labels
Comments
You'll need to add more detail about the importing code, and are likely to get better response asking on StackOverflow. |
Apologies. This turned out to be an unexpected side effect of a bug in pm2 the was managing the start and stop of the process doing the import |
Hmm, maybe a PR is in order then |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
When my application runs I am getting Error: Cannot find module 'winston'
and the app continually restart
I ran npm install with no errors
If I run this I get...
$ npm ls winston
[email protected] /home/wwwroot/repos/test-smart-portal-api
└── [email protected]
$
What version of Winston presents the issue?
v3.5.1
What version of Node are you using?
v14.19.0
If this worked in a previous version of Winston, which was it?
no previous
Minimum Working Example
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: