emscripten-core / emscripten-core/emscripten

initial install fails due to invalid argument

Open
#16,553 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

$ ./emsdk install latest
Resolving SDK alias 'latest' to '3.1.7'
Resolving SDK version '3.1.7' to 'sdk-releases-upstream-d0e637fe48197587d981f79e8114757731d0c2a9-64bit'
Installing SDK 'sdk-releases-upstream-d0e637fe48197587d981f79e8114757731d0c2a9-64bit'..
Installing tool 'node-14.18.2-64bit'..
Downloading: /cygdrive/c/dev/emsdk/zips/node-v14.18.2-win-x64.zip from https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/node-v14.18.2-win-x64.zip, 30570907 Bytes
Unpacking '/cygdrive/c/dev/emsdk/zips/node-v14.18.2-win-x64.zip' to '/cygdrive/c/dev/emsdk/node/14.18.2_64bit'
Unzipping file '/cygdrive/c/dev/emsdk/zips/node-v14.18.2-win-x64.zip' failed due to reason: [Errno 22] Invalid argument: '\\\\?\\\\cygdrive\\c\\dev\\emsdk\\node\\unzip_temp'
error: installation failed!

*********
my info*
*********
- running commands in cygwin
- node 14.18.2 is already installed on my machine (windows 10)
- have python 3.8 and is added to path
******************************************************************

Could I remove the need to download and install a nodejs version that I already have?
I am looking to see how others are handling this and maybe this is a system setup issue.
Any help or pointers are appreciated.

*************
** update ***
*************
After switching to the windows command prompt and adding the paths to emsdk, I was able to install the latest tools.
This is an issue with installing within cygwin and not emsdk. Maybe there is a way to fix it down the road if others experience similar issues.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.