Skip to content

Install problem on ubuntu 24 #42

@scion-driveway-situation

Description

Hello

I'm trying to install Signet on a clean install of Ubuntu 24 and at the first "docker compose up --bulid" command I'm running into this error:

 => CANCELED [signet-ui build 10/10] RUN pnpm build                                                                                                                            20.8s
 => ERROR [signet build  8/12] RUN cd /app/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3 &&     npx --yes prebuild-install -d                            4.4s
------                                                                                                                                                                               
 > [signet build  8/12] RUN cd /app/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3 &&     npx --yes prebuild-install -d:                                       
4.266 /bin/sh: 1: cd: can't cd to /app/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3                                                                          
------                                                                                                                                                                               
[+] up 0/2                                                                                                                                                                           
 ⠙ Image signet:local     Building                                                                                                                                              79.1s
 ⠙ Image signet-signet-ui Building                                                                                                                                              79.1s
Dockerfile:20

--------------------

  19 |     # Ensure better-sqlite3 native bindings are installed (prebuild-install downloads prebuilt binaries)

  20 | >>> RUN cd /app/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3 && \

  21 | >>>     npx --yes prebuild-install -d

  22 |     

--------------------

target signet: failed to solve: process "/bin/sh -c cd /app/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3 &&     npx --yes prebuild-install -d" did not complete successfully: exit code: 2

Haven't looked into it deeply yet, but I think it might have to do with the path NOT actually being /app/node_modules/... but actually just node_modules/....?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions