Marko
Marko
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
In the root of monorepo in its package.json there's
"start": "turbo run start"
"start": "turbo run start"
Which runs start on both backend and frontend somehow, unfortunately my knowledge on turbo is limited, i'm not sure how it does that
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
Okay. So, setting the root dir instead, or?
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
cd apps/backend && yarn start
cd apps/backend && yarn start
(or yarn dev locally)
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
I could try to make a non-monorepo out of this monorepo
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
Yes but the creator made it custom irrelevant from B2B case, they only have backend and frontend dirs in the root, it's not a monorepo
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
Actually yarn dev/yarn start runs it
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
I didn't try, not sure what to put there since instructions from origin repo (https://github.com/medusajs/b2b-starter-medusa?tab=readme-ov-file#quickstart) says to run
yarn install && yarn setup
yarn install && yarn setup
From root. Now if i set root dir it won't work, i assume. This command runs both backend and storefront (frontend), port 9000 and 8000 respectively.
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
This project
9858f6a2-8b94-41a0-8b1d-d60480e7ce45
9858f6a2-8b94-41a0-8b1d-d60480e7ce45
Was created from template But this one
aba163f0-3827-4fcb-8b18-23cc52b79543
aba163f0-3827-4fcb-8b18-23cc52b79543
Was created from scratch, i created an empty project and connected it to the forked repo (https://github.com/kompraventa/b2b-template)
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
This one
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
The one from above
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
I'm not sure why previous one didn't work, it was an eject from template, and this one is a github fork
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
Yes, but i created a brand new project from a forked repo (named b2b-template)
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
I'm not using a template, i was looking at this https://railway.app/template/gkU-27 but now i want to make similar setup but for B2B store, this template is for normal B2C
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
This is a new project id where build passes but seems there's problem with turbo
aba163f0-3827-4fcb-8b18-23cc52b79543
aba163f0-3827-4fcb-8b18-23cc52b79543
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
This is too weird to me, i'll try something else
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
On forked/ejected untouched repo i'm getting now
#11 1.732 ➤ YN0000: │ "@algolia/cache-browser-local-storage@npm:4.24.0":

#11 1.732 ➤ YN0000: │ version: 4.24.0

#11 1.732 ➤ YN0000: │ resolution: "@algolia/cache-browser-local-storage@npm:4.24.0"

#11 1.732 ➤ YN0000: │

#11 1.732 ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden.

#11 1.732 ➤ YN0000: └ Completed

#11 1.732 ➤ YN0000: · Failed with errors in 0s 761ms

#11 ERROR: process "/bin/bash -ol pipefail -c yarn install --frozen-lockfile" did not complete successfully: exit code: 1

-----

> [stage-0 7/9] RUN --mount=type=cache,id=s/2f921a83-4d00-453d-9890-f9671610ffd0-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --frozen-lockfile:
#11 1.732 ➤ YN0000: │ "@algolia/cache-browser-local-storage@npm:4.24.0":

#11 1.732 ➤ YN0000: │ version: 4.24.0

#11 1.732 ➤ YN0000: │ resolution: "@algolia/cache-browser-local-storage@npm:4.24.0"

#11 1.732 ➤ YN0000: │

#11 1.732 ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden.

#11 1.732 ➤ YN0000: └ Completed

#11 1.732 ➤ YN0000: · Failed with errors in 0s 761ms

#11 ERROR: process "/bin/bash -ol pipefail -c yarn install --frozen-lockfile" did not complete successfully: exit code: 1

-----

> [stage-0 7/9] RUN --mount=type=cache,id=s/2f921a83-4d00-453d-9890-f9671610ffd0-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --frozen-lockfile:
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
No description
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
I ejected the project to my repo https://github.com/kompraventa/b2b-starter-medusa
39 replies
RRailway
Created by Marko on 11/17/2024 in #✋|help
yarn: command not found
Is this project id? 9858f6a2-8b94-41a0-8b1d-d60480e7ce45
39 replies