Giter Club home page Giter Club logo

Comments (11)

sindresorhus avatar sindresorhus commented on May 24, 2024

👍 How would an error message look like?

from bin-build.

kevva avatar kevva commented on May 24, 2024

Something along these lines:

[text (blablabla, make sure the following dependencies are installed:]

  dep1
  dep2

[stack trace]

from bin-build.

sindresorhus avatar sindresorhus commented on May 24, 2024

blablabla isn't very useful though.

from bin-build.

kevva avatar kevva commented on May 24, 2024

well, it's what i'm going with.

from bin-build.

elesueur avatar elesueur commented on May 24, 2024

At the very least, it would be very useful for binbuild to explain in a log message which command failed and what was CWD of the command so you can find the logs.

e.g. ./configure ...

Lets say that the system doesn't have a necessary library installed, how would I find out which library to install?

from bin-build.

kevva avatar kevva commented on May 24, 2024

Sorry, totally forgot about this. I'll try fix something asap.

from bin-build.

elesueur avatar elesueur commented on May 24, 2024

In the meantime, can you help me out with where to find the logs for the commands that run? I tried looking in npmcache, and the tmpdir. Are they getting nuked after npm exits?

from bin-build.

elesueur avatar elesueur commented on May 24, 2024

Sorry, forgot to say Thanks for looking into it! I appreciate the help and the quick response.

from bin-build.

kevva avatar kevva commented on May 24, 2024

The commands aren't logged currently. Look at the code in the modules instead.

from bin-build.

elesueur avatar elesueur commented on May 24, 2024

That may be the case, but for instance, running ./configure will produce a config.log file somewhere in the build directory or the source directory. What is the current working directory when the commands are run?

from bin-build.

kevva avatar kevva commented on May 24, 2024

It's a temp directory so it may vary.

from bin-build.

Related Issues (13)

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.