You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: