There seem to be issues around sharp - problems installing it either with permissions (it tried to access ~/.npm/_libvips) or because when installed something else tried to access a file that doesnt exist vips/vips8
My solution was to upgrade node, npm and yarn - I'm not sure which if any were needed, change the ownership of ~/.npm/_libvips to myself and reinstall with yarn.. That worked (after multiple other things failed). But I'm not sure it was a universal solution.
There seem to be issues around sharp - problems installing it either with permissions (it tried to access ~/.npm/_libvips) or because when installed something else tried to access a file that doesnt exist vips/vips8
My solution was to upgrade node, npm and yarn - I'm not sure which if any were needed, change the ownership of ~/.npm/_libvips to myself and reinstall with yarn.. That worked (after multiple other things failed). But I'm not sure it was a universal solution.