Skip to content

Installation fails with corrupt files [Windows and Linux] #1538

Open
@GeneThomas

Description

@GeneThomas

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
b665079

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions