GolosChain / golosio-launching

1 stars 1 forks source link

Попытка запустить docker-compose up -d --build на ubuntu #1

Open sxiii opened 4 years ago

sxiii commented 4 years ago

ERROR: Service 'bandwith-provider' failed to build: The command '/bin/sh -c npm install --only-production' returned a non-zero code: 1

The reason behind it's not able to build is this (click to open spoiler) ``` npm WARN deprecated text-encoding@0.7.0: no longer maintained npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. npm ERR! cb() never called! npm ERR! This is an error with npm itself. Please report this error at: npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-09-11T08_14_55_996Z-debug.log ERROR: Service 'bandwidth-provider' failed to build: The command '/bin/sh -c npm install --only=production' returned a non-zero code: 1 ```

"CoreJS is no longer maintained and not recommended for usage" -> "cb() never called"...

Итого: контейнер не собирается на ubuntu 20.04 focal

Так же, было бы неплохо иметь все части паззла ( issue #2 )

b1acksun commented 3 years ago

Тестирование данного скрипта проводилось на Ubuntu 20.04 LTS docker version 19.03.12 docker-compose version 1.26.2 git version 2.25.1