Coder Social home page Coder Social logo

Comments (7)

sugatam avatar sugatam commented on June 12, 2024 2

I was able to fix it by

cd node_modules/better_sqlite3
node-gyp rebuild --release 

from pigallery2.

bpatrik avatar bpatrik commented on June 12, 2024

from pigallery2.

sugatam avatar sugatam commented on June 12, 2024

Thanks for your reply Patrik. I don't think trixie pulled in a new major version of node, its still node v18.

> process.versions
{ 
  node: '18.20.1',
  modules: '109',

and on another installation where I haven't upgraded:

{ 
  node: '18.19.1',
  modules: '108',
}

I'm not familiar with the node dev/release pipeline, but it appears that despite what I'm trying I can't get that one module - better_sqlite3 - to rebuild in the new pipleline.

from pigallery2.

martadinata666 avatar martadinata666 commented on June 12, 2024

can you please test using -d, npm -d rebuild likely or what I assume is missing build deps and can't build the module from the source.

from pigallery2.

sugatam avatar sugatam commented on June 12, 2024

Hi, npm -d rebuild didn't help, nor did clearing out node_modules and running

npm install --build-from-source

How can I get more insight into build deps? You may be right in that I can't build better_sqlite3 from source, just want to know why and address that. Messing around with various revisions of better_sqlite3 (9.x.x) led to npm run build failing, so that was a no go.

from pigallery2.

martadinata666 avatar martadinata666 commented on June 12, 2024

-d is debug mode, so there should be more insight what wrong? or at least why it don't compile from source. Can you please paste the log, here 🤔

from pigallery2.

bpatrik avatar bpatrik commented on June 12, 2024

Happy to hear. Closing this bug.

from pigallery2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.