GithubHelp home page GithubHelp logo

Comments (9)

ianliu avatar ianliu commented on June 19, 2024 2

@wsdjeg and @winksaville there is no ncurses5-compat-libs in the official Arch repository, it is an AUR package, so I don't know how @wsdjeg made it work with that command. I would suggest reopening this issue.

from documentation.

winksaville avatar winksaville commented on June 19, 2024 1

Yep, installing ncurses5-compat-libs does make it work, as I noted in the original post. Also, I see that INSTALL.md has always stated the need for ncurses5. I'd still suggest updating Getting Started with pre-requesites or statically linking with ncurses5 as suggested by others. But because the info is in INSTALL.md I'll close this.

from documentation.

hdgarrood avatar hdgarrood commented on June 19, 2024

Is it worth statically linking ncurses in the prebuilt binaries? That way, we wouldn't need to expand the documentation as this problem wouldn't arise in the first place.

from documentation.

hdgarrood avatar hdgarrood commented on June 19, 2024

Incidentally we do have some docs about ncurses in INSTALL.md in the compiler repo; if we do need to change the getting started guide I'd rather just say "if you have any problems installing the compiler, go here" and link to INSTALL.md.

from documentation.

winksaville avatar winksaville commented on June 19, 2024

Static linking sounds like a good idea. It would also be helpfull if the npm install didn't hang bug actually gave you an error message so you might be able to find a solution, I've installed a quite a few npm packages and this was the first time its ever hung so hopefully that can be improved.

from documentation.

wsdjeg avatar wsdjeg commented on June 19, 2024

@winksaville Thanks for your info, after run sudo pacman -S ncurses5-compat-libs, it works.

from documentation.

beiranvand-karim avatar beiranvand-karim commented on June 19, 2024

@wsdjeg and @winksaville there is no ncurses5-compat-libs in the official Arch repository, it is an AUR package, so I don't know how @wsdjeg made it work with that command. I would suggest reopening this issue.

Yeah, I have the same problem

from documentation.

hdgarrood avatar hdgarrood commented on June 19, 2024

Does installing the ncurses5-compat-libs AUR package fix the issue?

Also, what happens with npm install -g exactly? Does it produce exactly the output given in the original issue description (and no more)? Also, when the npm package decides to build from source, does it give you the output from stack? How much time did you give it before giving up? (There are quite a few dependencies to install so it might just be that it’s slow)

from documentation.

gakada avatar gakada commented on June 19, 2024

Both yarn and npm installs worked for me after installing ncurses5-compat-libs from AUR (it was complaining about missing libtinfo.so.5 before that). Though that is still inconvenient:

  • There is no officially supported way to install AUR packages AFAIK
  • ncurses5-compat-libs also requires to add a GPG key manually (as mentioned here)
  • It also downloads from ftp.gnu.org which is known to be down frequently (had to manually download the files).

from documentation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.