purescript / purescript/npm-installer

Include output from `stack` when building from source

Open
#24 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Right now, whenever we fall back to building the compiler from source, we don't include the output from stack while building. This is very inconvenient if stack fails. For example, this can be seen in both https://github.com/purescript/npm-installer/issues/16#issuecomment-544678112 and in https://github.com/purescript/npm-installer/issues/21#issuecomment-625849280.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Trace the source-build fallback in the JavaScript npm installer and locate where the stack command is run. Reproduce a failing stack build, then ensure its output is included in the reported build failure and verify that the existing source-build behavior still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.