Skip to content

Error importing this package #19

@elie222

Description

@elie222

Doing:

import { parseMessage } from '@u22n/mailtools';

Gives this error:

node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in .../node_modules/@u22n/mailtools/package.json

Tried a few variations. Going to see if adjusting my project config can fix it.

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