Closed casportal closed 6 days 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.
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.
@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.
Having an issues installing on my kali box. Below is a screenshot of the steps I have taken.