Lissy93 / web-check

🕵️‍♂️ All-in-one OSINT tool for analysing any website
https://web-check.xyz
MIT License
22.6k stars 1.74k forks source link

Deploying - Option #4: From Source #168

Closed casportal closed 6 days ago

casportal commented 3 months ago

Having an issues installing on my kali box. Below is a screenshot of the steps I have taken.

Screenshot 2024-08-08 131025 Screenshot 2024-08-08 130923

SadMadLad commented 1 month ago

Hi @casportal The yarn version looks quite old to me. Can you install yarn via node globally and then install the packages with yarn or yarn install?

Found a similar stackoverflow question which might be helpful for you.

cm001 commented 1 month ago

I had this issue too, and it looks to be due to an older version of yarn. I build a stock Debian 12 system for Web Check to run on.

/usr/bin/yarn --version
0.32+git

If you use this version of yarn it will give you the errors you are experiencing. I just installed the package yarnpkg and found the new binary location (/usr/share/nodejjs/yarn/bin/yarn). This seems to solve the ERROR and you will get everything working.

sudo apt install yarnpkg
/usr/share/nodejs/yarn/bin/yarn
**yarn run v1.22.19**
/usr/share/nodejs/yarn/bin/yarn 
/usr/share/nodejs/yarn/bin/yarn build
/usr/share/nodejs/yarn/bin/yarn install
/usr/share/nodejs/yarn/bin/yarn start

You could probably symbolically link to the new version of yarn, or remove the old one.

Also, the documentation says to use the command 'yarn serve' but this produces error Command "serve" not found.

I just used 'yarn start' as above and it worked.

SadMadLad commented 6 days ago

@casportal Closing this for now. Please feel free to reopen the issue if you are unable to solve it still. But I am pretty sure this is because of the outdated yarn version.