makebrainwaves / BrainWaves

An easy-to-use platform for EEG experimentation in the classroom
MIT License
60 stars 26 forks source link

Pyodide archive issues in node on windows 10 #78

Closed jdpigeon closed 5 years ago

jdpigeon commented 5 years ago

I tried to write a cross-platform node script that would handle downloading and unzipping pyodide. However, I've gotten stuck on what appear to be archive corruption issues.

working on a dano-pyodide-install and getting

Error: Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?
    at Object.exports.decode (C:\Users\dano_uyjp0ey\teon\BrainWaves\node_modules\tar-fs\node_modules\tar-stream\headers.js:267:43)

Is there another more windows friendly archive that we could use?

jdpigeon commented 5 years ago

Lol, it looks like this issue might be entirely because I was tryping to decrypt the archive with gzip encoding rather than bzip encoding.

Such oversight is the price you pay for coding at the biergarten

sdikker commented 5 years ago

Ha! #remoteoffice

Suzanne Dikker +1-212-920-4348 Sent from mobile

On Jul 5, 2019, at 10:38 PM, Dano Morrison notifications@github.com wrote:

Lol, it looks like this issue might be entirely because I was tryping to decrypt the archive with gzip encoding rather than bzip encoding.

Such oversight is the price you pay for coding at the biergarten

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.