aragon / your-first-aragon-app

(Aragon 1) Template to help you build your first Aragon application
MIT License
21 stars 16 forks source link

$npm start not working - same issue both with code from tutorial and branch tutorial_completed #35

Open markoinether opened 3 years ago

markoinether commented 3 years ago

Setup: I am running Ubuntu 20.04.3 LTS (GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64) under windows WSL 2.

Issue: This is the code I get both when I run the repo I have copied from "https://hack.aragon.org/docs/tutorial.html" and also branch "tutorial_completed".

Here is the code: ` $ npm start

placeholder-app-name@0.0.1 start buidler start

(node:8906) Warning: Accessing non-existent property 'INVALID_ALT_NUMBER' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created) (node:8906) Warning: Accessing non-existent property 'INVALID_ALT_NUMBER' of module exports inside circular dependency main | Starting Aragon app development... main | App name: foo main | App id: 0xf57f57247b9ef2b45da478e1a16f7d563a2a97b75d4fdd3be4dc64fca67bc43a main | Accounts mnemonic "explain tackle mirror kit van hammer degree position ginger unfair soup bonus" main | Account 0 private key 0xa8a54b2d8197bc0b19bb8a084031be71835580a01e70a45a13babd16c9bc1563 main | public key 0xb4124cEB3451635DAcedd11767f004d8a28c6eE7 main | Account 1 private key 0xce8e3bda3b44269c147747a373646393b1504bfcbb73fc9564f5d753d8116608 main | public key 0x8401Eb5ff34cc943f096A32EF3d5113FEbE8D4Eb main | Account 2 private key 0x8716d2701596f51aa39d061a685d5ae5ec946eb2c7adb059d29024b5bb3b02c8 main | public key 0x306469457266CBBe7c0505e8Aad358622235e768 main | Account 3 private key 0x62d7bb725787d84b059eb4950f6eea060d898183250ca3ea673a36b8e113018f main | public key 0xd873F6DC68e3057e4B7da74c6b304d0eF0B484C7 main | Account 4 private key 0x705df2ae707e25fa37ca84461ac6eb83eb4921b653e98fdc594b60bea1bb4e52 main | public key 0xDcC5dD922fb1D0fd0c450a0636a8cE827521f0eD main | Account 5 private key 0x6b12b45143fc6c7721d0ffbb9811905e773868376501fd1f46c64bf34ae29991 main | public key 0x27E9727FD9b8CdDdd0854F56712AD9DF647FaB74 main | Account 6 private key 0x33f3f34569f997abb165d6967895d963a2b15ec609efcec844e65b60ee8340c7 main | public key 0x9766D2e7FFde358AD0A40BB87c4B88D9FAC3F4dd main | Account 7 private key 0x5a013cc48f0a3196b0986fc7a7a9dd320ac75e89e33302a7ff4ea6b9dc4f7b00 main | public key 0xBd7055AB500cD1b0b0B14c82BdBe83ADCc2e8D06 main | Account 8 private key 0x418cc0b07bfef998f577384b185b97ad544204b5be43ac9b3abf16db2012ab5c main | public key 0xe8898A4E589457D979Da4d1BDc35eC2aaf5a3f8E main | Account 9 private key 0x698eece6f9915b08b4d1a63958dc4f3996ee5a8d685b29d17c28beab912a77cd main | public key 0xED6A91b1CFaae9882875614170CbC989fc5EfBF0 main | backend | Compiling contracts... (node:8906) Warning: Accessing non-existent property 'INVALID_ALT_NUMBER' of module exports inside circular dependency (node:8906) Warning: Accessing non-existent property 'INVALID_ALT_NUMBER' of module exports inside circular dependency All contracts have already been compiled, skipping compilation. backend | Contracts compiled.

/mnt/c/not-sync/git2/aragon/aragon-tutorial/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:358 callback(err); ^ Error: Callback was already called. at /mnt/c/not-sync/git2/aragon/aragon-tutorial/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:43:36 at WriteStream. (/mnt/c/not-sync/git2/aragon/aragon-tutorial/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:358:17) at WriteStream.emit (events.js:375:28) at WriteStream.destroy (/mnt/c/not-sync/git2/aragon/aragon-tutorial/node_modules/level-ws/level-ws.js:140:8) at finish (internal/streams/writable.js:670:14) at processTicksAndRejections (internal/process/task_queues.js:82:21) `


` $ node --trace-warnings ... internal/modules/cjs/loader.js:905 throw err; ^

Error: Cannot find module '/mnt/c/not-sync/git2/aragon/aragon-tutorial/...' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } `

manhthong-sg commented 2 years ago

have same issue with win 10 OS.