Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

On intel mac and node19, failing better-sqlite3 install seems to cause a confusing error on RedEye. #50

@S4lt5

Description

@S4lt5

Describe the bug

  • When I run yarn install on a mac with Node 19.X, better-sqlite3 fails. This is documented all over the place in various ways.
  • I can build all release packages as per the instructions in the README, and everything appears to succeed
  • When running yarn run start:server, it exits immediately.
AUTHENTICATION_PASSWORD=foo ./release/mac/RedEye --redTeam
HTTP server closed

To Reproduce

  1. Use Node19
  2. note that yarn install fails on better-sqlite3
  3. build the redeye binaries
  4. run the server

Expected behavior
The server should probably notice something is wrong, instead of just exiting suddenly.

Screenshots

AUTHENTICATION_PASSWORD=foo ./release/mac/RedEye --redTeam
HTTP server closed

Desktop (please complete the following information):

  • OS: MacOS monterey, Intel CPU
  • NodeJS: 19.2.X

This was resolved by moving to Node18, but the error was really mysterious and I could not figure out what was going wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions