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

Deploying - Option #4: From Source #168

Open
casportal opened this issue Aug 8, 2024 · 2 comments
Open

Deploying - Option #4: From Source #168

casportal opened this issue Aug 8, 2024 · 2 comments

Comments

@casportal
Copy link

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
Copy link
Collaborator

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
Copy link

cm001 commented Oct 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants