snowfallorg/frost

Can't get frost to work

Opened this issue · 0 comments

This project looks really cool and I'd love to use it, but it doesn't seem to work for me at all.

It hangs for a while then I either get generic, empty output, or errors like the following. Any advice?

image

λ nix profile install github:snowfallorg/frost
λ frost build github:yurrriq/dotfiles
 INFO   Frost Build
 FATAL  Frost Command failed: nix build '/nix/store/79jslk9xcmb7ckq8sy3xzadkdnjw5iib-frost-ui-0.0.1.drv^*' --out-link /home/eric/src/gitlab.sportradar.ag/nix/asimov/frost-docs
this derivation will be built:
  /nix/store/79jslk9xcmb7ckq8sy3xzadkdnjw5iib-frost-ui-0.0.1.drv
building '/nix/store/79jslk9xcmb7ckq8sy3xzadkdnjw5iib-frost-ui-0.0.1.drv'...
error: builder for '/nix/store/79jslk9xcmb7ckq8sy3xzadkdnjw5iib-frost-ui-0.0.1.drv' failed with exit code 1;
       last 10 log lines:
       >
       >
       > ERROR: `npm build` failed
       >
       > Here are a few things you can try, depending on the error:
       > 1. Make sure your build script (build) exists
       >   If there is none, set `dontNpmBuild = true`.
       > 2. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation
       >   See https://github.com/webpack/webpack/issues/14532 for more information.
       >
       For full logs, run 'nix log /nix/store/79jslk9xcmb7ckq8sy3xzadkdnjw5iib-frost-ui-0.0.1.drv'.

 FATAL  Frost this derivation will be built:
 FATAL  Frost   /nix/store/79jslk9xcmb7ckq8sy3xzadkdnjw5iib-frost-ui-0.0.1.drv
 FATAL  Frost building '/nix/store/79jslk9xcmb7ckq8sy3xzadkdnjw5iib-frost-ui-0.0.1.drv'...
 FATAL  Frost error: builder for '/nix/store/79jslk9xcmb7ckq8sy3xzadkdnjw5iib-frost-ui-0.0.1.drv' failed with exit code 1;
 FATAL  Frost        last 10 log lines:
 FATAL  Frost        >
 FATAL  Frost        >
 FATAL  Frost        > ERROR: `npm build` failed
 FATAL  Frost        >
 FATAL  Frost        > Here are a few things you can try, depending on the error:
 FATAL  Frost        > 1. Make sure your build script (build) exists
 FATAL  Frost        >   If there is none, set `dontNpmBuild = true`.
 FATAL  Frost        > 2. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation
 FATAL  Frost        >   See https://github.com/webpack/webpack/issues/14532 for more information.
 FATAL  Frost        >
 FATAL  Frost        For full logs, run 'nix log /nix/store/79jslk9xcmb7ckq8sy3xzadkdnjw5iib-frost-ui-0.0.1.drv'.
 FATAL  Frost 
 FATAL  Frost     at ChildProcess.exithandler (node:child_process:419:12)
 FATAL  Frost     at ChildProcess.emit (node:events:514:28)
 FATAL  Frost     at maybeClose (node:internal/child_process:1091:16)
 FATAL  Frost     at ChildProcess._handle.onexit (node:internal/child_process:302:5)