Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Module not found: Error: Can't resolve '@ledgerhq/cryptoassets/data/eip712' #2084

Closed
xuyanjie1 opened this issue Dec 8, 2022 · 1 comment
Assignees
Labels
bug Something isn't working libraries Impacts the Libraries triage In need of triage

Comments

@xuyanjie1
Copy link

xuyanjie1 commented Dec 8, 2022

Impacted Library name

@ledgerhq/hw-app-eth

Impacted Library version

6.30.2

Describe the bug

image

"@ledgerhq/devices": "^7.0.5", "@ledgerhq/hw-transport-u2f": "^5.36.0-deprecated", "@ledgerhq/hw-transport-webusb": "^6.27.8", "@ledgerhq/web3-subprovider": "^5.36.0-deprecated", "@ledgerhq/hw-app-eth": "^6.30.2", "@ledgerhq/cryptoassets": "^7.0.0",

Expected behavior

why tell me Module not found

Additional context

No response

@xuyanjie1 xuyanjie1 added bug Something isn't working libraries Impacts the Libraries triage In need of triage labels Dec 8, 2022
@xuyanjie1 xuyanjie1 changed the title [Bug]: [Bug]: Module not found: Error: Can't resolve '@ledgerhq/cryptoassets/data/eip712' Dec 8, 2022
@valpinkman
Copy link
Member

Hello @xuyanjie1

We've updated the way @ledgerhq/cryptoassets was built (resulting in a major bump to v7.0.0) here 9100363

However, we forgot to do a major bump of @ledgerhq/hw-app-eth which brings new exports and are not supported by webpack@4, parcel or metro-bundler. If you are using one of those bundlers, you might have to follow what @elbywan recommended here => #763 (comment)

I've tested on webpack@5 and could not reproduce your issue

@valpinkman valpinkman self-assigned this Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working libraries Impacts the Libraries triage In need of triage
Projects
None yet
Development

No branches or pull requests

2 participants