Comments (4)
I somehow missed the first issue regarding font on Linux.
from node-canvas-prebuilt.
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.
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.
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)
- npmjs is not being updated for new releases anymore HOT 2
- question about node-canvas releases and node.js versions
- install error, win 10, npm v6.13.4, node v12.13.1.
- Server crashes on starting the node app. Issue related to canvas-prebuilt: ^2.0.0-alpha.14 HOT 1
- nodejs v14.0.0 (node-v83 ABI, glibc) HOT 2
- Getting 404 on v2.6.1/canvas-v2.6.1-node-v79-linux-musl-x64.tar.gz HOT 1
- How to set mirror address when installing this package HOT 3
- installation problem HOT 1
- Still no ARM releases for raspberry pi after 3 years?
- Compatibility with Node version 12 HOT 2
- Prebuilt binaries not found for 2.6.1 and node 15.8.0 HOT 3
- M1 chip issue? HOT 4
- Cannot use node-canvas on OpenBSD 7.4
- Pre built binaries not found for canvas 2.6.1 and node 18
- Prebuilt for node_v72 HOT 3
- Add changelog to release notes HOT 1
- no win32-unknown-x64.tar.gz release for v2.6.0 HOT 2
- no node-v72-win32
- Can't Install on macOS HOT 2
- Electron build fails (Pre-built binaries not found) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-canvas-prebuilt.