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

atob is not defined #4567

Open
moda20 opened this issue Jan 31, 2024 · 1 comment
Open

atob is not defined #4567

moda20 opened this issue Jan 31, 2024 · 1 comment
Assignees
Labels
investigate Under investigation and may be a bug. v5 Issues regarding legacy-v5

Comments

@moda20
Copy link

moda20 commented Jan 31, 2024

Ethers Version

^5.7.2

Search Terms

No response

Describe the Problem

i am using the subquery indexer node (https://hub.docker.com/r/subquerynetwork/subql-node-ethereum) and when running it presents this error

Failed to index block 8009404: ReferenceError: atob is not defined
subquery-node_1   |     at Uo (webpack://gnosis-poap/node_modules/@ethersproject/base64/lib.esm/base64.js:4:4)
subquery-node_1   |     at 903 (webpack://gnosis-poap/node_modules/@ethersproject/hash/lib.esm/ens-normalize/include.js:32:35)

Code Snippet

No response

Contract ABI

No response

Errors

No response

Environment

node.js (v12 or newer)

Environment (Other)

No response

@moda20 moda20 added investigate Under investigation and may be a bug. v5 Issues regarding legacy-v5 labels Jan 31, 2024
@ricmoo
Copy link
Member

ricmoo commented Feb 1, 2024

If you are using the browser configuration in a non-browser environment, you will need to include the @ethersproject/shims to add missing features. Is this for a react build?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate Under investigation and may be a bug. v5 Issues regarding legacy-v5
Projects
None yet
Development

No branches or pull requests

2 participants