Skip to content

Error resolving ethers/lib/utils #129

Description

@rootulp

I'm attempting to use set.js from index-ui. I'm encountering:

./node_modules/@setprotocol/set-protocol-v2/dist/utils/common/adapterUtils.js
Module not found: Can't resolve 'ethers/lib/utils' in '/Users/rootulp/git/index-ui/node_modules/@setprotocol/set-protocol-v2/dist/utils/common'

which comes from this line.

set-protocol-v2 declares a direct dependency on ethers here so I'm not sure why this dependency isn't being provided when I add a dependency on set.js from the index-ui package.

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