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

getting-started instructions not quite working #562

Closed
dtribble opened this issue Feb 17, 2020 · 0 comments
Closed

getting-started instructions not quite working #562

dtribble opened this issue Feb 17, 2020 · 0 comments
Assignees
Labels
agoric-cli package: agoric-cli cosmic-swingset package: cosmic-swingset

Comments

@dtribble
Copy link
Member

I went through the getting-started instructions. It fails at agoric start.

tribble@MSI:~/git/bsafdemo/demo$ agoric start
initializing dev
/mnt/c/dev/git/agoric-sdk/packages/cosmic-swingset/bin/ag-solo init dev --egresses=fake
morgan deprecated default format: use combined format ../../../agoric-sdk/node_modules/esm/esm.js:1:278827
solo [ 'init', 'dev', '--egresses=fake' ]
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
error running ag-solo: Error: Command failed: git describe --always --dirty
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

at checkExecSyncError (child_process.js:610:11)
at execFileSync (child_process.js:628:15)
at initBasedir (/mnt/c/dev/git/agoric-sdk/packages/cosmic-swingset/lib/ag-solo/init-basedir.js:62:20)
at solo (/mnt/c/dev/git/agoric-sdk/packages/cosmic-swingset/lib/ag-solo/main.js:67:5)
at Object.<anonymous> (/mnt/c/dev/git/agoric-sdk/packages/cosmic-swingset/bin/ag-solo:7:1)
at Module._compile (internal/modules/cjs/loader.js:1139:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1159:10)
at Module.load (internal/modules/cjs/loader.js:988:32)
at Function.Module._load (internal/modules/cjs/loader.js:896:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {

status: 128,
signal: null,
output: [
null,
,
<Buffer 66 61 74 61 6c 3a 20 6e 6f 74 20 61 20 67 69 74 20 72 65 70 6f 73 69 74 6f 72 79 20 28 6f 72 20 61 6e 79 20 70 61 72 65 6e 74 20 75 70 20 74 6f 20 6d ... 92 more bytes>
],
pid: 1037,
stdout: ,
stderr: <Buffer 66 61 74 61 6c 3a 20 6e 6f 74 20 61 20 67 69 74 20 72 65 70 6f 73 69 74 6f 72 79 20 28 6f 72 20 61 6e 79 20 70 61 72 65 6e 74 20 75 70 20 74 6f 20 6d ... 92 more bytes>
}
Maybe the chain has bumped and you need to rerun ag-setup-solo?
setting fake chain with 5 second delay
/mnt/c/dev/git/agoric-sdk/packages/cosmic-swingset/bin/ag-solo set-fake-chain --role=two_chain --delay=5 myFakeGCI
morgan deprecated default format: use combined format ../../../../agoric-sdk/node_modules/esm/esm.js:1:278827
solo [ 'set-fake-chain', '--role=two_chain', '--delay=5', 'myFakeGCI' ]
error running ag-solo: /mnt/c/dev/git/bsafdemo/demo/.agservers/dev doesn't appear to be an ag-solo base directory
Maybe the chain has bumped and you need to rerun ag-setup-solo?
linking html directories
/mnt/c/dev/git/agoric-sdk/packages/cosmic-swingset/bin/ag-solo start --role=two_client
morgan deprecated default format: use combined format ../../../../agoric-sdk/node_modules/esm/esm.js:1:278827
solo [ 'start', '--role=two_client' ]
error running ag-solo: /mnt/c/dev/git/bsafdemo/demo/.agservers/dev doesn't appear to be an ag-solo base directory
Maybe the chain has bumped and you need to rerun ag-setup-solo?
tribble@MSI:/git/bsafdemo/demo$ ls -a
. .. .agservers .agwallet README-agoric-dapp.md api contract node_modules package.json ui yarn.lock
tribble@MSI:
/git/bsafdemo/demo$ ls .agservers/
dev package.json
tribble@MSI:/git/bsafdemo/demo$ ls .agservers/dev
connections.json contracts dapp-html html
tribble@MSI:
/git/bsafdemo/demo$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agoric-cli package: agoric-cli cosmic-swingset package: cosmic-swingset
Projects
None yet
Development

No branches or pull requests

2 participants