GooBox / goobox-community-gui

Desktop community syncing client for Sia and Storj (DApp)
GNU General Public License v3.0
50 stars 4 forks source link

Cant't build the Goobox under Linux #122

Closed AlexeyALeonov closed 6 years ago

AlexeyALeonov commented 6 years ago

Versions

Replace the values below with your own:

Optional:

logs

Please attach the following logs:

Linux

git clone https://github.com/GooBox/goobox-community-gui.git
cd goobox-community-gui/
npm install
npm run build
npm run dist:pre
alexey@ubuntu:~/goobox-community-gui$ npm run dist:pre

> Goobox@0.1.5 dist:pre /home/alexey/goobox-community-gui
> run-p dist:pre:*:*

> Goobox@0.1.5 dist:pre:sia:win /home/alexey/goobox-community-gui
> mkdir -p tmp/win/goobox-sync-sia && curl -sSL https://github.com/GooBox/goobox-sync-sia/releases/download/v${SYNC_SIA_VERSION}/goobox-sync-sia-${SYNC_SIA_VERSION}-win64.tar.gz | tar -zxv -C tmp/win/goobox-sync-sia --strip-components 1

> Goobox@0.1.5 dist:pre:storj:win /home/alexey/goobox-community-gui
> mkdir -p tmp/win/goobox-sync-storj && curl -sSL https://github.com/GooBox/goobox-sync-storj/releases/download/${SYNC_STORJ_VERSION}/goobox-sync-storj-${SYNC_STORJ_VERSION}-win64.zip -o tmp.zip && unzip tmp.zip -d tmp/win/ && rm tmp.zip

> Goobox@0.1.5 dist:pre:storj:mac /home/alexey/goobox-community-gui
> mkdir -p tmp/mac/goobox-sync-storj && curl -sSL https://github.com/GooBox/goobox-sync-storj/releases/download/${SYNC_STORJ_VERSION}/goobox-sync-storj-${SYNC_STORJ_VERSION}-darwin.tar.gz | tar -zxv -C tmp/mac/goobox-sync-storj --strip-components 1

> Goobox@0.1.5 dist:pre:sia:mac /home/alexey/goobox-community-gui
> mkdir -p tmp/mac/goobox-sync-sia && curl -sSL https://github.com/GooBox/goobox-sync-sia/releases/download/v${SYNC_SIA_VERSION}/goobox-sync-sia-${SYNC_SIA_VERSION}-mac.tar.gz | tar -zxv -C tmp/mac/goobox-sync-sia --strip-components 1

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! Goobox@0.1.5 dist:pre:sia:win: `mkdir -p tmp/win/goobox-sync-sia && curl -sSL https://github.com/GooBox/goobox-sync-sia/releases/download/v${SYNC_SIA_VERSION}/goobox-sync-sia-${SYNC_SIA_VERSION}-win64.tar.gz | tar -zxv -C tmp/win/goobox-sync-sia --strip-components 1`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the Goobox@0.1.5 dist:pre:sia:win script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/alexey/.npm/_logs/2018-03-29T21_36_25_459Z-debug.log

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Archive:  tmp.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of tmp.zip or
        tmp.zip.zip, and cannot find tmp.zip.ZIP, period.

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! Goobox@0.1.5 dist:pre:sia:mac: `mkdir -p tmp/mac/goobox-sync-sia && curl -sSL https://github.com/GooBox/goobox-sync-sia/releases/download/v${SYNC_SIA_VERSION}/goobox-sync-sia-${SYNC_SIA_VERSION}-mac.tar.gz | tar -zxv -C tmp/mac/goobox-sync-sia --strip-components 1`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the Goobox@0.1.5 dist:pre:sia:mac script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/alexey/.npm/_logs/2018-03-29T21_36_25_678Z-debug.log
ERROR: "dist:pre:sia:win" exited with 2.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Goobox@0.1.5 dist:pre: `run-p dist:pre:*:*`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Goobox@0.1.5 dist:pre script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/alexey/.npm/_logs/2018-03-29T21_36_25_815Z-debug.log

Expected Behavior

Please describe the program's expected behavior.

Installation under Linux was succeed

Actual Behavior

Please describe the program's actual behavior. Please include any stack traces or log output in the back ticks below.

See errors above.

Steps to Reproduce

Please include the steps the reproduce the issue, numbered below. Include as much detail as possible.

  1. Use the fresh Ubuntu 17.10
  2. Install the Node.js and build tools: https://docs.storj.io/docs/storj-share-daemon-cli#section-2-1-1-installation-of-the-required-components
  3. Follow the instructions to install: https://github.com/GooBox/goobox-community-gui#some-info-for-developers

Screenshots (Optional)

If the error is graphical in nature it is helpful to provide a screenshot.

jkawamoto commented 6 years ago

Currently, it requires to specify some environment variables. Could you try this?

$ SYNC_STORJ_VERSION=0.0.26 SYNC_SIA_VERSION=0.2.2 npm run dist:pre
AlexeyALeonov commented 6 years ago
alexey@ubuntu:~/goobox-community-gui$ SYNC_STORJ_VERSION=0.0.26 SYNC_SIA_VERSION=0.2.2 npm run dist:pre

> Goobox@0.1.6 dist:pre /home/alexey/goobox-community-gui
> run-p dist:pre:*:*

> Goobox@0.1.6 dist:pre:storj:win /home/alexey/goobox-community-gui
> mkdir -p tmp/win/goobox-sync-storj && curl -sSL https://github.com/GooBox/goobox-sync-storj/releases/download/${SYNC_STORJ_VERSION}/goobox-sync-storj-${SYNC_STORJ_VERSION}-win64.zip -o tmp.zip && unzip tmp.zip -d tmp/win/ && rm tmp.zip

> Goobox@0.1.6 dist:pre:storj:mac /home/alexey/goobox-community-gui
> mkdir -p tmp/mac/goobox-sync-storj && curl -sSL https://github.com/GooBox/goobox-sync-storj/releases/download/${SYNC_STORJ_VERSION}/goobox-sync-storj-${SYNC_STORJ_VERSION}-darwin.tar.gz | tar -zxv -C tmp/mac/goobox-sync-storj --strip-components 1

> Goobox@0.1.6 dist:pre:sia:win /home/alexey/goobox-community-gui
> mkdir -p tmp/win/goobox-sync-sia && curl -sSL https://github.com/GooBox/goobox-sync-sia/releases/download/v${SYNC_SIA_VERSION}/goobox-sync-sia-${SYNC_SIA_VERSION}-win64.tar.gz | tar -zxv -C tmp/win/goobox-sync-sia --strip-components 1

> Goobox@0.1.6 dist:pre:sia:mac /home/alexey/goobox-community-gui
> mkdir -p tmp/mac/goobox-sync-sia && curl -sSL https://github.com/GooBox/goobox-sync-sia/releases/download/v${SYNC_SIA_VERSION}/goobox-sync-sia-${SYNC_SIA_VERSION}-mac.tar.gz | tar -zxv -C tmp/mac/goobox-sync-sia --strip-components 1

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! Goobox@0.1.6 dist:pre:storj:mac: `mkdir -p tmp/mac/goobox-sync-storj && curl -sSL https://github.com/GooBox/goobox-sync-storj/releases/download/${SYNC_STORJ_VERSION}/goobox-sync-storj-${SYNC_STORJ_VERSION}-darwin.tar.gz | tar -zxv -C tmp/mac/goobox-sync-storj --strip-components 1`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the Goobox@0.1.6 dist:pre:storj:mac script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/alexey/.npm/_logs/2018-05-01T11_01_13_287Z-debug.log

gzip: stdin: unexpected end of file

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
ERROR: "dist:pre:storj:mac" exited with 2.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Goobox@0.1.6 dist:pre: `run-p dist:pre:*:*`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Goobox@0.1.6 dist:pre script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/alexey/.npm/_logs/2018-05-01T11_01_13_502Z-debug.log
jkawamoto commented 6 years ago

Sorry for the late replay but it should be fixed.