mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Add help when possibly using an unsupported libc
This commit is contained in:
parent
19fa4cd1d3
commit
c5eaeb2ddb
@ -65,7 +65,7 @@ if (sharp) {
|
||||
' npm install --force @img/sharp-wasm32'
|
||||
);
|
||||
}
|
||||
if (isLinux && /symbol not found/i.test(messages)) {
|
||||
if (isLinux && /(symbol not found|CXXABI_)/i.test(messages)) {
|
||||
try {
|
||||
const { engines } = require(`@img/sharp-libvips-${runtimePlatform}/package`);
|
||||
const libcFound = `${familySync()} ${versionSync()}`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user