Skip to content

docker-compose up ---> api_1 fails #2

@exocode

Description

@exocode

Hi there,

just found your Repo and wanna check it out but any bootstrap/spinup fails, what I am doing wrong?

first I simply tried:

  • docker-compose up which failed

then I tried

  • cd api
  • npm install
  • cd ..
  • docker-compose up

and ended in that error:

api_1  |
api_1  | > arduino-ota-server@1.0.0 watch:poll /usr/src/api
api_1  | > gulp watch:poll
api_1  |
api_1  | gulp[20]: ../src/node_contextify.cc:649:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()' failed.
api_1  |  1: 0x9bcb80 node::Abort() [gulp]
api_1  |  2: 0x9bcc07  [gulp]
api_1  |  3: 0x9b518f node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [gulp]
api_1  |  4: 0xb859b5  [gulp]
api_1  |  5: 0xb864d2 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [gulp]
api_1  |  6: 0x134e979  [gulp]
api_1  | Aborted
api_1  | npm ERR! code ELIFECYCLE
api_1  | npm ERR! errno 134
api_1  | npm ERR! arduino-ota-server@1.0.0 watch:poll: `gulp watch:poll`
api_1  | npm ERR! Exit status 134
api_1  | npm ERR!
api_1  | npm ERR! Failed at the arduino-ota-server@1.0.0 watch:poll script.
api_1  | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
api_1  |
api_1  | npm ERR! A complete log of this run can be found in:
api_1  | npm ERR!     /root/.npm/_logs/2019-09-26T14_39_44_671Z-debug.log
db_1   | 2019-09-26T14:39:37.383825Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
db_1   | 2019-09-26T14:39:37.384535Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.17) initializing of server in progress as process 31
db_1   | 2019-09-26T14:39:44.943719Z 5 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
arduinoota-server_api_1 exited with code 134

How can I get it working?

Many, many thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions