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

Aragon Template Tutorial SNAFU #1

Closed
yeqbfgxjiq opened this issue May 28, 2019 · 0 comments
Closed

Aragon Template Tutorial SNAFU #1

yeqbfgxjiq opened this issue May 28, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@yeqbfgxjiq
Copy link
Contributor

Was following the Aragon Template tutorial.


EARLIER:

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.


NOW:

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)."

@yeqbfgxjiq yeqbfgxjiq added the bug Something isn't working label May 28, 2019
@yeqbfgxjiq yeqbfgxjiq self-assigned this May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant