Had the same problem and @Epistemex’s link helped me troubleshoot it.
… You need to install
libcairo2-dev
,libjpeg-dev
andlibgif-dev
packages …
sudo apt-get install libcairo2-dev libjpeg-dev libgif-dev
More Related Contents:
- `npm install` fails on node-gyp rebuild with `gyp: No Xcode or CLT version detected!`
- npm install -g less does not work: EACCES: permission denied
- Global Node modules not installing correctly. Command not found
- Node Version Manager install – nvm command not found
- Push items into mongo array via mongoose
- Node.js quick file server (static files over HTTP)
- Mongoose populate vs object nesting
- How can I set NODE_ENV=production on Windows?
- can you host a private repository for your organization to use with npm?
- How can I completely uninstall nodejs, npm and node in Ubuntu [closed]
- What is Node.js’ Connect, Express and “middleware”?
- How to cancel HTTP upload from data events?
- Can mongo upsert array data?
- How can nodemon be made to work with WSL 2?
- How to close a readable stream (before end)?
- Nodemailer: ECONNREFUSED
- Encrypting data with a public key in Node.js
- Nodejs AWS SDK S3 Generate Presigned URL
- Firebase and backend logic
- MongoDB + nodejs : how to query ISODate fields?
- How to fix ‘Error: querySrv EREFUSED’ when connecting to MongoDB Atlas?
- How to send Firebase Cloud Messaging from a node server?
- What is the difference between res.send and res.write in express?
- How to change value of process.env.PORT in node.js?
- How to get all count of mongoose model?
- how to list rooms on socket.io nodejs server
- The best way to run npm install for nested folders?
- What is index.js used for in node.js projects?
- How to set env var for .npmrc use
- Mongoose: extending schemas