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

ReferenceError: self is not defined #159

Open
A2DNEW opened this issue Apr 27, 2024 · 0 comments
Open

ReferenceError: self is not defined #159

A2DNEW opened this issue Apr 27, 2024 · 0 comments

Comments

@A2DNEW
Copy link

A2DNEW commented Apr 27, 2024

Hi
I get error for below code:

import { Connex } from '@vechain/connex';
new Connex({
      node: 'https://mainnet.veblocks.net',
      network: "main",
    });

Error:

ReferenceError: self is not defined
    at Object.<anonymous> (/xxx/node_modules/@vechain/connex/dist/webpack:/@vechain/connex/webpack/universalModuleDefinition:10:2)

How can I fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant