Error: ENOENT: no such file or directory, open './tmp/config.json'
Start in docker, then stop with Ctrl+C, observe error and stack trace
❯ docker run --rm kiln-next --node https://mainnet.smartpy.io
Fri, 19 Mar 2021 14:07:35 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. at internal/modules/cjs/loader.js:1063:30
{
baker: [],
node: [ 'https://mainnet.smartpy.io' ],
chain: 'main',
rpc: 'https://mainnet-tezos.giganode.io/',
logging: 'info',
filter: { omit: [] },
type: 'literal',
_: [],
'$0': 'dist/index.js'
}
[14:07:36] WARN: isBoostrapped failed for node https://mainnet.smartpy.io because of invalid json response body at https://smartpy.io/nodes reason: Unexpected token < in JSON at position 0
^Cinternal/fs/utils.js:307
throw err;
^
Error: ENOENT: no such file or directory, open './tmp/config.json'
at Object.openSync (fs.js:476:3)
at Object.writeFileSync (fs.js:1467:35)
at exports.File.File.saveSync (/app/node_modules/nconf/lib/nconf/stores/file.js:103:6)
at saveStoreSync (/app/node_modules/nconf/lib/nconf/provider.js:535:23)
at Array.reduce (<anonymous>)
at exports.Provider.Provider.save (/app/node_modules/nconf/lib/nconf/provider.js:577:31)
at Object.save (/app/dist/config.js:63:11)
at process.<anonymous> (/app/dist/index.js:50:16)
at process.emit (events.js:315:20) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: './tmp/config.json'
}