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

Nextjs - Module not found: Can't resolve 'winston-logflare' #1

Open
metin1 opened this issue Dec 13, 2020 · 1 comment
Open

Nextjs - Module not found: Can't resolve 'winston-logflare' #1

metin1 opened this issue Dec 13, 2020 · 1 comment

Comments

@metin1
Copy link

metin1 commented Dec 13, 2020

Expected Behavior
Getting no error.

**Actual Behavior
I get an error:
error - ./logger/logger.js:4:26
Module not found: Can't resolve 'winston-logflare'
at: const LogflareTransport = require("winston-logflare")

image

Steps to Reproduce the Problem

  1. yarn add winston-logflare
  2. add sample code at logger.js
  3. export as the logger
  4. try to log any information.

Specifications**
Version: "winston-logflare": "0.1.0",
Platform: macOS 10.15.7 - "react": "17.0.1", "next": "10.0.3"

@rezanouri87
Copy link

2 years later and still no response!

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

2 participants