Skip to content
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

sharp-win32-x64.node could not be found #381

Open
kitandthecat opened this issue Apr 18, 2022 · 18 comments
Open

sharp-win32-x64.node could not be found #381

kitandthecat opened this issue Apr 18, 2022 · 18 comments
Labels
awaiting approval This has been resolved and is waiting in a PR bug Something isn't working

Comments

@kitandthecat
Copy link

Main application won't load and pops up with JavaScript error saying something went wrong installing the "sharp" module.

Steps to reproduce the behavior:

  1. Open main extracted folder.
  2. Click on the main 'Unofficial Homestuck Collection's APP.
  3. JavaScript error pops up.

Expected behavior
App would work as described with no problems. Never used it before, first time downloading.

error

Desktop (please complete the following information):

  • Version 2.0.5 x64 bit
  • Asset Pack V2
  • OS: Windows 10

Additional context
I tried searching for basic solutions but I do not understand coding, so this has been a hard find. Tried uninstalling and reinstalling multiple times, and even tried to locate the file.
The file is in the folders, so not entirely sure what the true problem is. Hope this helps.

@GiovanH
Copy link
Owner

GiovanH commented May 1, 2022

I actually think this may be fixed in the latest develop version, but it hasn't been thoroughly tested yet. If anyone hitting this error is set up to build the latest version and see if that solves the problem for you, that would be very helpful.

@graphicchibi
Copy link

I have been having this error but only on one specific computer. My usual computer runs the entire collection just fine, but when I plug my Homestuck USB into a friend's, they can't open it at all. I tried downloading it directly to their computer and got the same error.

@graphicchibi
Copy link

I also noticed that on my friend's computer, the Unofficial Homestuck Collection continued running as a background process in task manager after they had this error.

@calamitycons
Copy link

image

In the popup it says that I should try to "run the installation with verbose turned on" but I don't understand what that means or how to do that.

This was referenced Jun 24, 2022
@TrishFishSeven
Copy link

This bug has also been happening to me. I have deleted and reinstalled the assets using the different links, and it still doesn't work. The only way to delete the files is to open task manager and end the task.

@matto555
Copy link

matto555 commented Jul 15, 2022

Potential solution for this issue discovered:

  1. Install Node.js if it is not installed already
  2. Now go to Windows Command Prompt and type "npm install --platform=win32 --arch=x64 sharp"
  3. Go to where it was just downloaded (wherever you had your Command Prompt active, likely in the [C]:\Users\username if you didn't change it)
  4. Then copy the folder "node_modules" to \resources\app.asar.unpacked\ in the Collection to replace the node_modules folder that came installed with the Collection.
  5. Check your task manager to make sure the Collection is not running as a background process.
  6. Run the Collection and it should launch.

This worked for me after searching about and finding people that were having the same problem with other programs strangely enough. Hopefully this works for others as well. I'm not much of a programmer so forgive my very coarse explanation or lack of technical language.
As for why this works? Again, I am not a very experienced programmer and basically just kind of did trial and error with this, so I couldn't begin to imagine an explanation for how or why this fixed the issue. I will leave that to those of you who are much more learned in this field than I.

@nope1game
Copy link

nope1game commented Jul 16, 2022

another problem that i have is that i can't delete the folder and it says that a file is open in the folder

@matto555
Copy link

matto555 commented Jul 16, 2022

This is probably because the Collection is running in the background. Open your task manager, if on Windows 10 make sure to click "more details" and scroll down to see if there are any "The Unofficial Homestuck Collection" processes running and end them.

@GiovanH
Copy link
Owner

GiovanH commented Jul 18, 2022

If you are still experiencing sharp issues and have not tried a manual workaround, please try the prerelease here: https://github.com/Bambosh/unofficial-homestuck-collection/releases/tag/2.0.6-pre

@MikhelHudrlik
Copy link

I was previously experiencing the same sharp error on windows and only way I could get things to work was using one of the 1.x.x versions. However, after testing with the new pre-release 2.0.6-pre, it worked like a charm!

@GiovanH GiovanH added the awaiting approval This has been resolved and is waiting in a PR label Jul 30, 2022
@TheCarptain
Copy link

I was also experiencing this issue, and the prerelease completely fixed it!

@gallowsCalibra
Copy link

the command prompt did not work and there is no application in the 2.06

@ethanwoopdedoo
Copy link

Hi!

I'm using 2.0.7 and I'm still experiencing this. I've attempted the manual workaround as well to no avail. (maybe this is fixed in another release? feel free to let me know!)
image

@GiovanH
Copy link
Owner

GiovanH commented Aug 7, 2023

If you're still getting this error with 2.0.7, try the prerelease.

@ethanwoopdedoo
Copy link

Installed the most recent prerelease and it worked like a charm! Thanks much!

@MonkeyMan500
Copy link

Just here to also report the issue is present for me on 2.0.7 for me as a new reader, despite trying many hours of workarounds

Can you please provide steps on how to install the prerelease linked above? I am unsure what to do with the files I downloaded.

Thank you all for your hard work on this!

@variousnumbers
Copy link

I’m having this same issue and downloaded the prerelease as suggested here, but once I did it doesn’t look like there’s anything in that file that I can even click to run? I can see that other folks in this thread ran into the same thing, did that just never get resolved for anyone?

@Discord270
Copy link

image_2024-06-20_230426365
i followed Matto555's instructions and now this is popping up every time i try to open it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting approval This has been resolved and is waiting in a PR bug Something isn't working
Projects
None yet
Development

No branches or pull requests