darwinia-network / dj

Darwinia bridge relayer tool implemented in nodejs
GNU General Public License v3.0
4 stars 5 forks source link

Error when run dj keep relay #7

Closed hackfisher closed 4 years ago

hackfisher commented 4 years ago
MacBookPro:~ denny$ dj keep relay
dj keep <service>

trigger services

位置:
  service                           [必需] [可选值: "crash", "relay", "fetcher"]

Options:
  --help, -h     显示帮助信息                                             [布尔]
  --version, -V  显示版本号                                               [布尔]
  --daemon, -d                                            [布尔] [默认值: false]

Error: ENOENT: no such file or directory, copyfile '/Users/denny/.config/yarn/global/node_modules/@darwinia/util/lib/src/static/grammer.yml' -> '/Users/denny/.darwinia/grammer.yml'
    at Object.copyFileSync (fs.js:1801:3)
    at new Config (/Users/denny/.config/yarn/global/node_modules/@darwinia/util/lib/src/cfg.js:72:26)
    at Object.<anonymous> (/Users/denny/.config/yarn/global/node_modules/@darwinia/api/lib/src/auto.js:20:21)
    at Generator.next (<anonymous>)
    at /Users/denny/.config/yarn/global/node_modules/@darwinia/api/lib/src/auto.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/denny/.config/yarn/global/node_modules/@darwinia/api/lib/src/auto.js:4:12)
    at Object.autoAPI (/Users/denny/.config/yarn/global/node_modules/@darwinia/api/lib/src/auto.js:19:12)
    at Function.<anonymous> (/Users/denny/.config/yarn/global/node_modules/@darwinia/dj/lib/src/relay.js:49:37)
    at Generator.next (<anonymous>)
    at /Users/denny/.config/yarn/global/node_modules/@darwinia/dj/lib/src/relay.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/denny/.config/yarn/global/node_modules/@darwinia/dj/lib/src/relay.js:4:12)
    at Function.new (/Users/denny/.config/yarn/global/node_modules/@darwinia/dj/lib/src/relay.js:48:16)
    at /Users/denny/.config/yarn/global/node_modules/@darwinia/dj/lib/index.js:106:64
    at Generator.next (<anonymous>) {
  errno: -2,
  syscall: 'copyfile',
  code: 'ENOENT',
  path: '/Users/denny/.config/yarn/global/node_modules/@darwinia/util/lib/src/static/grammer.yml',
  dest: '/Users/denny/.darwinia/grammer.yml'
}