sharp
sharp copied to clipboard
When does one need to install `@img/sharp-libvips-dev`?
I am using Meteor and its bundler keeps bogging me with the following missing module warning:
Unable to resolve some modules:
"@img/sharp-libvips-dev/include" in ./node_modules/sharp/lib/libvips.js (web.browser)
"@img/sharp-libvips-dev/cplusplus" in ./node_modules/sharp/lib/libvips.js (web.browser)
If you notice problems related to these missing modules, consider running:
meteor npm install --save @img/sharp-libvips-dev
Should I install this missing dependency? As a dev dependency?
No, this is one of sharp's own devDependencies and you do not require it to use sharp. It looks like a bug/feature of Meteor - see https://github.com/meteor/meteor/issues/9285