Skip to content

Instantly share code, notes, and snippets.

@wanderingstan
Created April 11, 2019 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wanderingstan/ca62f3cf475f57d2b603daeea48ba1ac to your computer and use it in GitHub Desktop.
Save wanderingstan/ca62f3cf475f57d2b603daeea48ba1ac to your computer and use it in GitHub Desktop.
$ npm run start:listener:development -- --identity --growth --marketplace --network=localhost --continue-file=continue-file.json
> @origin/discovery@0.1.0 start:listener:development /Users/stan/Origin/origin/infra/discovery
> nodemon src/listener/listener.js "--identity" "--growth" "--marketplace" "--network=localhost" "--continue-file=continue-file.json"
[nodemon] 1.18.11
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node src/listener/listener.js --identity --growth --marketplace --network=localhost --continue-file=continue-file.json`
[INFO] event-listener: Starting event-listener with config: {
"listenerId": "main",
"webhook": "http://dev-notifications.dev.svc.cluster.local:3456/events",
"discordWebhook": null,
"emailWebhook": null,
"elasticsearch": true,
"gcloudPubsubTopic": null,
"gcloudProjectId": null,
"marketplace": true,
"identity": true,
"growth": true,
"continueFile": "continue-file.json",
"trailBlocks": 1,
"concurrency": 1,
"network": "localhost",
"defaultContinueBlock": 0,
"enableMetrics": true
}
ReferenceError: window is not defined
at setNetwork (/Users/stan/Origin/origin/packages/graphql/src/contracts.js:307:26)
at Object.<anonymous> (/Users/stan/Origin/origin/infra/discovery/src/listener/listener.js:224:1)
at Module._compile (internal/modules/cjs/loader.js:738:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:749:10)
at Module.load (internal/modules/cjs/loader.js:630:32)
at tryModuleLoad (internal/modules/cjs/loader.js:570:12)
at Function.Module._load (internal/modules/cjs/loader.js:562:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:801:12)
at internal/main/run_main_module.js:21:11
[nodemon] app crashed - waiting for file changes before starting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment