Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot recover from interrupted package download progress #10

Open
Zhwt opened this issue Jan 18, 2020 · 0 comments
Open

Cannot recover from interrupted package download progress #10

Zhwt opened this issue Jan 18, 2020 · 0 comments

Comments

@Zhwt
Copy link

Zhwt commented Jan 18, 2020

Hi, I'm new to launchui packager, and earlier today I terminated the launchui package download process accidentally, now it can't run and gives the following error output.

Packaging some-project version 0.0.1 for win32-x64
Extracting launchui-v0.1.4-win32-x64.zip
Error: end of central directory record signature not found
    at C:\Program Files\nodejs\node_modules\launchui-packager\node_modules\yauzl\index.js:167:14
    at C:\Program Files\nodejs\node_modules\launchui-packager\node_modules\yauzl\index.js:473:5
    at C:\Program Files\nodejs\node_modules\launchui-packager\node_modules\fd-slicer\index.js:32:7
    at FSReqWrap.wrapper [as oncomplete] (fs.js:467:17)

And after a clean reinstall, the problem still persists.

C:\Windows\system32>npm remove --global launchui-packager
removed 169 packages in 0.675s

C:\Windows\system32>npm install --global launchui-packager
C:\Program Files\nodejs\launchui-packager -> C:\Program Files\nodejs\node_modules\launchui-packager\cli.js
+ [email protected]
added 169 packages from 126 contributors in 4.038s

After doing some search, I found out that the downloaded package file is located in: C:\Users\Username\.launchui\launchui-version-arch.zip.

There should be some clean up code after the unzip function returning unexpectedly so it can re-obtain the file in case the file is damaged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant