-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install succeeds, but running fails in WSL #1108
Comments
A web search for "cannot enable executable stack as shared object" returns microsoft/WSL#286 which has some suggestions. |
I've looked over the issues posted, it seems to have something to do with I tried playing around with Thanks for your effort! |
Running It's possible librsvg has the execstack flag set for a reason, perhaps function trampolines are used due to the mix of Rust and C sources? I've created lovell/sharp-libvips#3 to investigate what, if anything, can be done. |
This worked wonders for me on a Windows installation... set GYP_MSVS_VERSION=2015 Using Yarn? |
Hello,
I've been trying to add Sharp to a project I'm working on.
This is the environment I'm using:
Installation goes on fine, but running it fails with the following error:
What's interesting is that it fails on just including sharp.
What I've tried:
rm -rf node_modules && yarn cache clean
libvips
andlibvips-dev
Steps to reproduce:
npm init
andnpm install --save sharp
const sharp = require('sharp')
node index.js
It will fail with the above error.
Any ideas ? Is there any debug flag that I can set to see more info about what's happening?
The text was updated successfully, but these errors were encountered: