Closed yeqbfgxjiq closed 5 years ago
Was following the Aragon Template tutorial.
My dev environment is a headless VM in a data center somewhere (Ubuntu 18.10 GNU/Linux 4.18.0-1011-gcp x86_64). In order to get the Aragon CLI/devchain to work I'm running node v10.15.3
and @aragon/cli@5.6.2
.
This happened following the hack.aragon Template. Creating the app worked, but npx aragon run --template Template --template-init @ARAGON_ENS
created the following error:
Opening http://localhost:3000/#/0xB346ED613C15E2F0e4936b0435E130b3b62D008e to view your DAO
⚠ No front-end detected (no start_url defined)
(node:11552) UnhandledPromiseRejectionWarning: Error: Exited with code 3
at ChildProcess.cp.once.code (/usr/local/lib/node_modules/@aragon/cli/node_modules/opn/index.js:85:13)
at Object.onceWrapper (events.js:277:13)
at ChildProcess.emit (events.js:189:13)
at maybeClose (internal/child_process.js:970:16)
at Socket.stream.socket.on (internal/child_process.js:389:11)
at Socket.emit (events.js:189:13)
at Pipe._handle.close (net.js:597:12)
(node:11552) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch((rejection id: 2))
(node:11552) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
This leads me to believe that something in the aragon devchain
triggers a command to open a browser with localhost, but there is no browser, so it crashes.
This also happened with the Your First Aragon App tutorial, so it leads me to think it's a deeper problem with running a headless VM vs just the command in the template tutorial. I really don't know though.
Any help would be appreciated, but until then I'm going to focus on the Docs Template and the Docusaurus.
The DAO builder is what I see when I go to localhost:3000 (same as what you would see if you go to https://mainnet.aragon.org/#/).
When I go to localhost:3000/#/NEWLY-CREATED-DAO-ADDRESS, it opens the DAO for a split second, then jumps to the error page (the one with the owlEagleAnimation component where the eyes track the mouse) and it says:
"Organization not found
It looks like there's no organization associated with that address on the current network (local testnet)."
Moving my technical difficulties to a separate Issue as to not clutter up discussions in #3