Skip to content

module/Types error #6

@chrisnoden

Description

@chrisnoden

The latest update is causing node errors to be thrown in my project.

DeprecationWarning: Package ./node_modules/getaddress-api/ has a "main" field set to "lib/Client", excluding the full filename and extension to the resolved file at "lib/Client.js", imported from /Users/chrisnoden/Projects/phoenix/phoenix-fe/node_modules.
 Automatic extension resolution of the "main" field is deprecated for ES modules.

With a further error of

Cannot find module './node_modules/getaddress-api/lib/Types' imported from ./node_modules/getaddress-api/lib/Client.js

I am using getaddress-find in my project which is calling the api library as a dependency. I'm going to try and pin an older version of the api lib.

Update: I see you just (literally) updated to v1.4.3 - but that doesn't resolve my issue. I resolved it by pinning to v1.3.2 - it looks like the whole 1.4.x versions produce the same issue.

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