Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Method Promise.prototype.then called on incompatible receiver #<Promise> #700

@n8ores

Description

@n8ores

Anyone else getting this error when upgrading from 3.3.7 to 3.3.8?

import config from "config";

let fn = async ()=>{
    await config .get("BASE_URL"); // This line throws the above exception
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions