Giter Club home page Giter Club logo

Comments (4)

vsarpe avatar vsarpe commented on August 13, 2024

I somehow missed the first issue regarding font on Linux.

from node-canvas-prebuilt.

chearon avatar chearon commented on August 13, 2024

Yeah sorry, I need to reopen that, because it is currently still an issue.

A while back I re-did the builds so that fonts worked correctly on Linux (which is why #6 is closed), but those builds depended on a very new version of Glib and broke everyone else's builds in Travis, which are on a very old version of Ubuntu (see all the madness in #8).

So I'm sort of stuck in a dilemma where I can't support fonts without ditching old versions of linux, and haven't yet figured out what to do

from node-canvas-prebuilt.

chearon avatar chearon commented on August 13, 2024

Actually @vsarpe did you try npm install [email protected]? that one should have the new build, but you need to have a later version of GLib

from node-canvas-prebuilt.

vsarpe avatar vsarpe commented on August 13, 2024

What version glib would be required for that build? Currently, I have glibc 2.17.

I get the following error:

module.js:597
  return process.dlopen(module, path._makeLong(filename));
                 ^

Error: libpcre.so.3: cannot open shared object file: No such file or directory
    at Error (native)
    at Object.Module._extensions..node (module.js:597:18)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/ec2-user/clickdishes-backend/node_modules/canvas-prebuilt/canvas/lib/bindings.js:3:18)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/ec2-user/clickdishes-backend/node_modules/canvas-prebuilt/canvas/lib/canvas.js:13:14)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/ec2-user/clickdishes-backend/utils/avatarUtils.js:3:16)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)

libpcre is also latest (from amazon).

from node-canvas-prebuilt.

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.