You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing a version of node (specifically 10.23.2) has the following problems:
OS detection doesn't work.
This is because nvm.fish line 42 uses string lower, but line 52 compares to uppercase strings.
Solving the above, curl (line 81) fails with curl: (23) Failure writing output to destination
I worked around that by having curl save to a temp file, and then tar read from that file.
Working around the above, the tar part of installing (line 82) fails for some reason I couldn't determine.
It works if I separate it into two commands instead of using && or ; and in lines 81-82.
Working around the above, _nvm_node_info fails because apparently npm is directly inside version/bin instead of node_modules/npm, so package.json isn't in the same directory.
Using it on Windows 10 with MSYS2. curl version: 7.74.0 (x86_64-pc-msys) tar version: bsdtar 3.3.2 - libarchive 3.3.2 zlib/1.2.5.f-ipp
I decided against making a pull request since I only have workarounds for the above and I can't be sure it would work in general, but I can hope this information helps you figure out the problems.
The text was updated successfully, but these errors were encountered:
Installing a version of node (specifically 10.23.2) has the following problems:
This is because
nvm.fish
line 42 usesstring lower
, but line 52 compares to uppercase strings.curl
(line 81) fails withcurl: (23) Failure writing output to destination
I worked around that by having
curl
save to a temp file, and thentar
read from that file.tar
part of installing (line 82) fails for some reason I couldn't determine.It works if I separate it into two commands instead of using
&&
or; and
in lines 81-82._nvm_node_info
fails because apparentlynpm
is directly insideversion/bin
instead ofnode_modules/npm
, sopackage.json
isn't in the same directory.Using it on Windows 10 with MSYS2.
curl
version: 7.74.0 (x86_64-pc-msys)tar
version: bsdtar 3.3.2 - libarchive 3.3.2 zlib/1.2.5.f-ippI decided against making a pull request since I only have workarounds for the above and I can't be sure it would work in general, but I can hope this information helps you figure out the problems.
The text was updated successfully, but these errors were encountered: