Skip to content

ReferenceError:Missing 'logger' #2

@11AN-CODE

Description

@11AN-CODE

Describe the bug
The 'logger' variable is used in index.js but is not defined. This causes a ReferenceError and prevents the app from starting.

To Reproduce
1.Run 'npm run dev' on a fresh install.

Expected behavior
The app should start without crashing.

Screenshots

Image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Adding 'const logger = require('winston');' fixes the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions