I usually just run docker compose up -d
in .devcontainer folder
Apparently the process wont work on macos
Then it might be because the migrate command
Please write steps until you see the issue
Wait we get the following error
Error: getaddrinfo ENOTFOUND wstd.dev
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'wstd.dev'
}
/Users/meliko/Development/webstudio/apps/builder:
βERR_PNPM_RECURSIVE_RUN_FIRST_FAILβ @webstudio-is/[email protected] dev: `remix vite:dev`
Exit status 1
βELIFECYCLEβ Command failed with exit code 1.
this is the error we get after running pnpm run dev
Hm, ok. Try cd apps/builder && pnpm dev
Is pnpm run from inside docker?
@TrySound got it working on a virtual server but we get the question regarding an auth secret which we didnβt need to set up and cant find any info about
Can you tell us how to set one upv
put AUTH_SECRET="5de6"
in
apps/builder/.env.development
or any other secret you like
when putting in secret it says user not found
When putting in the auth key it says this
No that receives an error
pnpm migrations migrate
in the root
Try to pull latest commits pls
try this
pnpm --filter="@webstudio-is/prisma-client" generate
pnpm migrations migrate
that seems to do somethins
I was try to do it but i got myself another error π
Error: fatal: fetch-pack: invalid index-pack output
at the time of cloning to local machine
Perhaps something wrong with your git setup
may be, i am looking into but not sure
I have done other things and worked but now the user not found error is coming.
But in my case the address "
https://wstd.dev:5173/" is working.
DEV_LOGIN=true
AUTH_SECRET=12345
Did you put it in .env.development?
Did you restart pnpm dev
after this?
yes i did it multiple time
i don't understand migrations sorry
Run these two commands from the root
pnpm --filter="@webstudio-is/prisma-client" generate
pnpm migrations migrate
Currently this is happeing
root of repository folder?
When you initialize database it is empty. We write migrations to add or change tables or update data.
Its working now Thanks,
I will make a template for webstudio to use for free for people. You guys have done great work
Hey everyone! I'm new at webstudio.
I wanna set up the app locally, but when I write the Secret key (1234), I also get the error user not found.
I run
pnpm --filter="@webstudio-is/prisma-client" generate
pnpm migrations migrate
but nothing doesn't changes in my life ))
Did both commands finished successfully?
Yes I'm not getting any error
I run the application with Docker, which should not make errors. I don't know what could be the reason (
It's hard to guess without exact steps you did
I wanna set up the app locally, but when I write the Secret key (1234), I also get the error user not found.
I run
pnpm --filter="@webstudio-is/prisma-client" generate
pnpm migrations migrate
but nothing doesn't changes in my life ))
I'm moved with https://docs.webstudio.is/contributing/contributing-for-developers#running-the-webstudio-project-using-vs-codeprovided a step-by-step guide
This is information we have. Now the information we don;t have.
- At what step you are getting - User not found.
- What you did to get that Error.
- What is in the server console
Also having that this is opensource you can investigate yourself
All places where this error is happening. And try to find why.
Also check everything in Incognito. This can be ruined session because of some env changes, browser extensions, some OS or node version we never touched
Aso I'm moved with https://docs.webstudio.is/contributing/contributing-for-developers#running-the-webstudio-project-using-vs-codeprovided a step-by-step
Based on my experience in 99% it was not. (Additional steps, misreading etc ;-)) So it's important to write your steps
Finally, it worked. I don't know the reason, I removed it entirely and installed it again from GitHub. But I didn't make any changes to the application!!!
anyway, thank you for the help ))