-
-
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
Windows - Specified module not found: Sharp #1388
Comments
Hello, please can you provide the full output of running the |
I got the same issue
|
I tried npm install sharp --verbose @lovell
|
I can try running as admin in powershell - only if you say so |
If you haven't already spotted it, the salient error from the installation output above is:
which suggests a local filesystem permissions error. The comments in npm/npm#10826 suggest a number of approaches to deal with this, with over-zealous "anti-virus" software being mentioned a number of times. Good luck! |
@lovell sorry for the late response, I was at school.
This is the ouput of the npm install verbose
|
@lovell Here are some message logs of someone trying to help me. Might be helpful. https://pastebin.com/xAqtt30n |
The salient error this time is:
Remove the |
@lovell any clues? |
WHAT~! holy crap it works! |
I love you man! @lovell !!!!! |
Great, thanks for confirming. It looks like there were (temporary) networking problems during a previous installation attempt that corrupted the cache. This situation came up a few days ago in #1382 so I'll see what can be done to improve error reporting in sharp. |
@lovell cool!it works~thx |
@lovell For me it was a case of deleting yarn.lock and just rebuilding it again. It wasn't happening on my local machine but it was on my build server. Once I had the new yarn.lock it went though OK. |
I removed and reinstalled again, also rebuilt sharp the output of
|
@eng-dibo Please open a new installation issue and answer all of the questions if you still require help. |
Additional information here:
#1387
I have also tried making a brand new project with sharp as the only package.
index.js
package.json
Running gives me this error:
What I have done:
I have installed node-gyp, I have installed windows-build-tools 6 times and redid install for vs community twice and installed python 2.7 twice. But nothing works. I have been stuck on this problem for at least a week and I'm am really frustrated.
The text was updated successfully, but these errors were encountered: