-
Notifications
You must be signed in to change notification settings - Fork 0
Description
When I build the docker (without any changes) and try to run it, I get the following error:
/root/bitcoin-node/node_modules/insight-api/node_modules/async/dist/async.js:52
function apply(fn, ...args) {
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/root/bitcoin-node/node_modules/insight-api/lib/blocks.js:3:13)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
Running it from hub without building it works okay. But that way I cannot make any changes.
I think that when building a new image, some new stuff is loaded which is not compatible or so.