Giter Site home page Giter Site logo

Comments (7)

hzulla avatar hzulla commented on July 30, 2024

bump.

from make-art.

tancredi avatar tancredi commented on July 30, 2024

Hi, I haven't tried building from the pi directly so far - my suggestion would be to build the project from another working machine and move the build.

Remember, Kano Draw uses the same codebase for online version (http://draw.kano.me) and offline app, so in order to build for desktop use you need to set the ENV variable OFFLINE to true.

@tombettany or @pazdera should have more info on how the app is packaged for the Pi.

from make-art.

tancredi avatar tancredi commented on July 30, 2024

Also, of course, use an updated version of Node.js and npm - Current Node.js version is v0.12.0 but the build should run smoothly with v0.10.x or higher.

from make-art.

pazdera avatar pazdera commented on July 30, 2024

@hzulla, I think we had some problems trying to build it with the version of node that is in Raspbian.

Here's the procedure we use to build the draw package on our server:

https://github.com/KanoComputing/kano-draw/blob/master/debian/rules#L7

We download and build the latest version of node and npm in the process, which is not the greatest solution. But considering that we don't actually use node anywhere else, we haven't got around to packaging it yet.

from make-art.

hzulla avatar hzulla commented on July 30, 2024

Thanks. I'll see what I can do.

from make-art.

hzulla avatar hzulla commented on July 30, 2024

Ok, can build now. Thanks.

@tancredi, what is your favourite i18n tool? It looks like node-gettext is a possible tool, but there are alternatives and I'm not sure if you prefer one over the other.

from make-art.

hzulla avatar hzulla commented on July 30, 2024

For the record, my fix for the initial problem was using this pre-built npm for RPi binary instead of that other one mentioned in the first comment here.

from make-art.

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.