Closed AlexeyALeonov closed 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
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
Sorry for the late replay but it should be fixed.
Versions
Replace the values below with your own:
Optional:
logs
Please attach the following logs:
Linux
Expected Behavior
Please describe the program's expected behavior.
Actual Behavior
Please describe the program's actual behavior. Please include any stack traces or log output in the back ticks below.
Steps to Reproduce
Please include the steps the reproduce the issue, numbered below. Include as much detail as possible.
Screenshots (Optional)
If the error is graphical in nature it is helpful to provide a screenshot.