Skip to content

"Cannot find module 'dotenv' or its corresponding type declarations." when dotenv is installed globally #926

@IArnaut2

Description

@IArnaut2

I have installed dotenv globally with the command npm install -g dotenv. My project can't recognize imported dotenv and I get errors that dotenv cannot be found, yet it's installed globally.

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