Hey guys. I’ve been trying to get kbin.social running on my local machine outlined here but I’m running into issues
I’ve installed Docker Desktop for windows and I can see the containers being created but I’m getting errors on the front-end build stage, I’ve put it in a ticket here but not sure what else to do.
https://codeberg.org/Kbin/kbin-core/issues/368
I’ve already got node, npm and yarn installed, I’ve done the following and I’m not making much progress
npm install yarn build
When I view the site locally its throwing errors.
I’m pretty new to docker and even yarn so I’m not sure what I should do next, any big brain thoughts from you guys by chance?
Yarn is an alternative to npm, you shouldn’t use them together in the same project.
You should:
rm -rf node_modules yarn install yarn build
This will ensure you’re building with the right version of dependencies.
Ah thanks mate I’ll give that a go. When I tried to install yarn the first time it came up with a different error about not finding something. I’ll try that way
I ended up giving this a go (starting again and instead of doing an npm install, I tried just a yarn install) and I ended up getting this error yarn error with yarn install
When I look into /vendor there’s very little in here, that file doesnt exist it seem
missing directory in vendor
Really strange, unsure what exactly I’m missing here now