-
Notifications
You must be signed in to change notification settings - Fork 161
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
Ledger Support Errors #411
Comments
A discord user has reported another error: https://discord.com/channels/490367152054992913/542945453533036544/1009482022290464819 |
Hey, @gagdiez thank you for raising this issue. After some investigation yesterday in the issue we found that this error is showing up only with This issue seems to be on the latest version of We found this suggestion here to be a good solution: LedgerHQ/ledger-live#763 (comment). Basically this si what is being suggested there: adding parcel-style alias to the package.json seems to help:
See their docs on using these packages with parcel: https://developers.ledger.com/docs/transport/web-hid-usb/#packagejson About the reported issue on discord, there was not enough information to know what the exact issue was so I asked them to open a new issue here in this repo. |
Thanks, adding the alias resulted in a different error, which I solved by adding a second alias: "process": { "global": "{}" } Maybe it would be useful to add that in the README (#414 ) |
Was the error about process caused by @near-walllet-selector/ledger ? The error about process might be related to something else, can you please share more details or a screenshot? |
I further tested it, and the error was not being originated from the wallet-selector/ledger. I saw your comment in the PR, with the Known Issue being added to the Ledger page. I would still recommend to bring it to the front README.md so people can find it easier. |
Hey, @gagdiez after more investigation on the issue which was happening with dApps that use I also addressed the issue reported on discord. Thank you for your feedback again. |
I have found the following error when using `import
{ setupLedger }
from "@near-wallet-selector/ledger";`. Particularly, the error is:
@parcel/core: Failed to resolve '@ledgerhq/devices/hid-framing' from './node_modules/@ledgerhq/hw-transport-webhid/lib-es/TransportWebHID.js'
To reproduce simply add the ledger package and try to use it.
The text was updated successfully, but these errors were encountered: