Hey guys. I’ve been trying to get kbin.social running on my local machine outlined here but I’m running into issues

issue with kbin install

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?

  • sik0fewl@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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.

    • AnonymousLlama@kbin.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      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