Giter Club home page Giter Club logo

Comments (3)

tecimovic avatar tecimovic commented on June 19, 2024 2

Yes.... There was a serious problem with the package versions since electron got updated to 9.4.
I tracked this down and backtracked the problem to sqlite3 upgrade to 5.0.0 which happened a while back, and with latest electron the situation completely exploded.

I have backed out of several upgrades, so now we are back to electron 8.2 and sqlite3 4.2.
Using node 14.15.5 is ok.

Note that on Linux you have to run src-script/install-packages-[ubuntu/fedora].

I had a bit of problem to recreate my dev environment after the downgrade, so I suggest:
1.) rm -rf node_modules/
2.) npm ci
3.) check the doc/faq.md, it lists few things you need to run:
- src-script/npm-update-binary
- possibly some of those rebuild commands that faq.md lists.

This is one time thing, so once you get to the point of being able to run npm run zap normally (also try npm run gen and npm run test), you should be ok for a while.

from zap.

wassfila avatar wassfila commented on June 19, 2024

Same error on ubuntu 20.04 and node v14.15.5

e43bd37

node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (electron-v9.4 ABI, glibc) (falling back to source compile with node-gyp

So I deleted this line from package.json

"postinstall": "electron-builder install-app-deps && husky install",

after that I could install and run successfully, this might not be the best fix though.

I'll leave this ticket open for info if you think that it should to be fixed

from zap.

wassfila avatar wassfila commented on June 19, 2024

Excellent, thanks a lot for the details

from zap.

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.