emscripten-core / emscripten-core/emsdk

Installation fails with corrupt files [Windows and Linux]

Open
#1,538 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.7k
Forks
821
Avg merge
1h 25m
Merged PRs (30d)
3

Description

The download node .zip is corrupted, using curl to download it is ok?

>python -V
Python 3.11.9

>git clone "https://github.com/emscripten-core/emsdk.git"
Cloning into 'emsdk'...

>cd emsdk

>git rev-parse HEAD
b665079cb9ad9eb1704652f962281a7fa1633e2d

>emsdk install latest

Resolving SDK alias 'latest' to '4.0.5'
Resolving SDK version '4.0.5' to 'sdk-releases-d7f8ff5e2ca3539c33fae81e98f7c56ef9fa1239-64bit'
Installing SDK 'sdk-releases-d7f8ff5e2ca3539c33fae81e98f7c56ef9fa1239-64bit'..
Installing tool 'node-20.18.0-64bit'..
Downloading: C:/Users/Pemrt/Documents/Projects/ext/emsdk/downloads/node-v20.18.0-win-x64.zip from https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/node-v20.18.0-win-x64.zip, 31379384 Bytes
Unpacking 'C:/Users/Pemrt/Documents/Projects/ext/emsdk/downloads/node-v20.18.0-win-x64.zip' to 'C:/Users/Pemrt/Documents/Projects/ext/emsdk/node/20.18.0_64bit'
Unzipping file 'C:/Users/Pemrt/Documents/Projects/ext/emsdk/downloads/node-v20.18.0-win-x64.zip' failed due to reason: File is not a zip file! Removing the corrupted zip file.
error: installation failed!

>curl https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/node-v20.18.0-win-x64.zip --output downloads\node-v20.18.0-win-x64.zip

>unzip /d c:\temp\node-tmp downloads\node-v20.18.0-win-x64.zip

**is ok, showing that the .zip curl downloaded is ok?**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.