Giter VIP home page Giter VIP logo

Comments (3)

kifirkin avatar kifirkin commented on May 16, 2024

@Samonitari on Windows you need windows-build-tools for compiling native binaries with node-gyp. It's mentioned here https://github.com/nodejs/node-gyp#on-windows

from oni2.

politinsa avatar politinsa commented on May 16, 2024

As pointed out in #56 , debian users should change their /etc/apt/sources.list to get libharfbuzz-dev from sid repo.
Apart from that, I had no issues installing oni2 on debian.

from oni2.

Samonitari avatar Samonitari commented on May 16, 2024

Sorry for the late answer!

First, I failed to mention in this ticket that I tried building oni2 on Windows (first)
Anyways, it can be easy to be lost in the transitive dependency chain, which is not explicit as it is.
My build steps were:

  1. I had native (C++) development environment and python3 already
  2. Look at the prerequisities: git was already installed, I needed esy
  3. Go to esy Get Started: realized I need npm/node,js
  4. Go to Node.js: downloaded and installed the LTS relase
  5. Go back to 2: installed esy with npm.
  6. Do the build steps (couple times before textmate got included)
  7. Do the textmate build: error msg says node-gyp fails on print command
    -> quickly realize the installed python3 is called but it expects python2
  8. Install python2, add it to the front of the PATH in the build cmd shell (as I don't want to break my python3 environment) -> happyness!

Nowhere in that chain I have been notified that I need Python 2 (which is frankly a bit lame, considering it'll soon be marked EOL, but that's another story, and its node-gyp's fault).
I'll admit I'm not versed in web-related programming language stacks, but I didn't even realized node-gyp has been installed somewhere (was it installed with node.js or did esy install it?), so how should I be aware of its missing dependencies?

I hope you don't get it as nitpicking (I am constantly checking out the changes of the repo, and I am thrilled by every minor progress), and maybe every tester already has node-gyp, but maybe I am not the only one to have to figure it out. A little note should not be distrubing in the prerequisites.

from oni2.

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.