-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Installing a version of node (specifically 10.23.2) has the following problems:
- OS detection doesn't work.
This is becausenvm.fishline 42 usesstring lower, but line 52 compares to uppercase strings. - Solving the above,
curl(line 81) fails withcurl: (23) Failure writing output to destination
I worked around that by havingcurlsave to a temp file, and thentarread from that file. - Working around the above, the
tarpart of installing (line 82) fails for some reason I couldn't determine.
It works if I separate it into two commands instead of using&∨ andin lines 81-82. - Working around the above,
_nvm_node_infofails because apparentlynpmis directly insideversion/bininstead ofnode_modules/npm, sopackage.jsonisn'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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working