Comments (1)
Just reporting this as it took me a couple of hours to track this one down.
Error message in our case was something like
Building fresh packages...
--
| error /app/node_modules/mozjpeg: Command failed.
| Exit code: 1
| Command: node lib/install.js
| Arguments:
| Directory: /app/node_modules/mozjpeg
| Output:
| To get a Buffer, set `options.responseType` to `buffer` instead
| mozjpeg pre-build test failed
| compiling from source
| (node:165) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
| (Use `node --trace-deprecation ...` to show where the warning was created)
| Error: Command failed: /bin/sh -c ./configure --enable-static --disable-shared --disable-dependency-tracking --with-jpeg8 --prefix="/app/node_modules/mozjpeg/vendor" --bindir="/app/node_modules/mozjpeg/vendor" --libdir="/app/node_modules/mozjpeg/vendor"
| configure: error: no nasm (Netwide Assembler) found
from mozjpeg-bin.
Related Issues (20)
- Not working in node:alpine Docker base image HOT 7
- EventEmitter memory leak detected!
- Build script issue HOT 3
- Please add environment variable to set bin download URL HOT 1
- Trying to install mozjpeg - behind corporate network HOT 2
- Can't build on raspberry pi. HOT 1
- MozJPEG 4
- mozjpeg pre-build test failed, and "autoreconf -fiv" HOT 2
- Bad gateway when Github is having operational problems
- Resolve dependency on logsalot related to CVE-2021-33623 HOT 1
- Apple Silicon M1 builds fail with incorrect path to libpng libraries HOT 7
- the path exist? mozjpeg\vendor\cjpeg.exe -baseline spawn HOT 1
- npm install error 7.1.1 HOT 16
- Build error after updates [email protected] HOT 10
- its not worked
- Bump `bin-wrapper` to latest stable package
- mozjpeg preinstall failed
- mozjpeg not support on centos 7 HOT 1
- Release new version to npm HOT 2
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 mozjpeg-bin.