diff --git a/lib/libvips.js b/lib/libvips.js index f98c55cc..a4d494d7 100644 --- a/lib/libvips.js +++ b/lib/libvips.js @@ -65,7 +65,7 @@ const hasVendoredLibvips = function () { if (currentPlatformId === vendorPlatformId) { return true; } else { - throw new Error(`'${vendorPlatformId}' binaries cannot be used on the '${currentPlatformId}' platform. Please remove the 'node_modules/sharp/vendor' directory and run 'npm install'.`); + throw new Error(`'${vendorPlatformId}' binaries cannot be used on the '${currentPlatformId}' platform. Please remove the 'node_modules/sharp' directory and run 'npm install' on the '${currentPlatformId}' platform.`); } } else { return false;