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

TypeError: Aragon is not a constructor #491

Open
daviddavo opened this issue Oct 20, 2021 · 1 comment
Open

TypeError: Aragon is not a constructor #491

daviddavo opened this issue Oct 20, 2021 · 1 comment

Comments

@daviddavo
Copy link

I've installed the api with npm i @aragon/api, and then I've copied the sample script from the docs.

But when I try to run it, I recive the following error:

$ node index.js
./index.js:4
const app = new Aragon()
            ^

TypeError: Aragon is not a constructor
    at Object.<anonymous> (/home/davo/Documents/GRASIA/api/index.js:4:13)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
    at node:internal/main/run_main_module:17:47
@welcome
Copy link

welcome bot commented Oct 20, 2021

Thanks for opening your first issue in aragonJS! Someone will circle back soon ⚡

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