Skip to content

Error when running a self build container #1

@HasseM

Description

@HasseM

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions