Code Monkey home page Code Monkey logo

Comments (4)

ngbusca avatar ngbusca commented on June 6, 2024 1

From the logs it looks you are on a UNIX platform. Linux? Mac?

That's right, I'm on a mac.

  1. Check you can build things in general on your platform:

I can confirm that I can build things in general, so I moved to 2.

  1. Follow advice from the node-sqlite3 page and report back with what helped you
    https://github.com/mapbox/node-sqlite3

I wasn't sure what particular advice I should try from that page so I moved to 3.

  1. Remove the "postinstall" line (and trailing comma the line above) in the package.json to skip the build specific to Electron. Then try to npm install again. But I doubt it will help you.

That worked! The node demo.js seems to work as well. Thanks!

FYI I am working on making the installation simpler by removing the Python part.
Please report what helped you get through, so that I can make this easier for the other people.

from adblockradio.

dest4 avatar dest4 commented on June 6, 2024

Indeed this is a miserable fail! ^^

From the logs it looks you are on a UNIX platform. Linux? Mac?
I see three options:

  1. Check you can build things in general on your platform:
    sudo apt-get install build-essential or something like that.

  2. Follow advice from the node-sqlite3 page and report back with what helped you
    https://github.com/mapbox/node-sqlite3

  3. Remove the "postinstall" line (and trailing comma the line above) in the package.json to skip the build specific to Electron. Then try to npm install again. But I doubt it will help you.

FYI I am working on making the installation simpler by removing the Python part.
Please report what helped you get through, so that I can make this easier for the other people.

from adblockradio.

dest4 avatar dest4 commented on June 6, 2024

Great news. I had put that postinstall line for Electron build in https://github.com/adblockradio/buffer but it causes more problems than what it solves. Personal TODO: remove that line.

from adblockradio.

dest4 avatar dest4 commented on June 6, 2024

I have removed the postinstall operation in 8b08867#diff-b9cfc7f2cdf78a7f4b91a753d10865a2

A standard environment is now described in the Dockerfile https://github.com/adblockradio/adblockradio/blob/master/.circleci/images/primary/Dockerfile

Closing this now.

from adblockradio.

Related Issues (11)

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.