Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error installing better-sqlite3 #36

Open
r33drichards opened this issue Mar 22, 2024 · 1 comment
Open

error installing better-sqlite3 #36

r33drichards opened this issue Mar 22, 2024 · 1 comment

Comments

@r33drichards
Copy link

@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
'/nix/store/w5m6pgwcwk50bnh0p13idln535aabmzq-package.json' -> 'package.json'
'/nix/store/y3ysrgwvw7arnc4v1ihzsi2qic07px0b-pnpm-lock.yaml' -> 'pnpm-lock.yaml'
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
Lockfile is up to date, resolution step is skipped
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +1244

Progress: resolved 1, reused 0, downloaded 0, added 0
...
Progress: resolved 1244, reused 0, downloaded 1244, added 1244, done
node_modules/.pnpm/es5-ext@0.10.63/node_modules/es5-ext: Running postinstall script...
node_modules/.pnpm/vue-demi@0.14.7_vue@3.4.19/node_modules/vue-demi: Running postinstall script...
node_modules/.pnpm/better-sqlite3@9.4.3/node_modules/better-sqlite3: Running install script...
node_modules/.pnpm/es5-ext@0.10.63/node_modules/es5-ext: Running postinstall script, done in 108ms
node_modules/.pnpm/maplibre-gl@2.4.0/node_modules/maplibre-gl: Running postinstall script...
node_modules/.pnpm/maplibre-gl@2.4.0/node_modules/maplibre-gl: Running postinstall script, done in 88ms
node_modules/.pnpm/vue-demi@0.14.7_vue@3.4.19/node_modules/vue-demi: Running postinstall script, done in 257ms
node_modules/.pnpm/better-sqlite3@9.4.3/node_modules/better-sqlite3: Running install script, failed in 772ms
.../node_modules/better-sqlite3 install$ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
│ 
└─ Failed in 772ms at /build/node_modules/.pnpm/better-sqlite3@9.4.3/node_modules/better-sqlite3
node_modules/.pnpm/maplibre-gl@2.4.0/node_modules/maplibre-gl: Running postinstall script, done in 88ms
 ELIFECYCLE  Command failed with exit code 1.

the project i am trying to build is https://github.com/getflakery/dash/tree/38fc2ea53b15db402c90fd365b84354987e2a7e1

i am able to build using pnpm run build in my dev shell

@AsterisMono
Copy link

To build sqlite3 you probably need gcc and python3 in your extraBuildInputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants