T
Twenty6mo ago
NickWild

Error logging in first time

When trying to log in for the first time I am getting a QueryFailedError error and as per docs I am running docker exec -it twenty-server-1 yarn which produces many YN60 errors xxx is listed by your project with version x.xx.x, which doesn't satisfy what yyy (p19231) requests (~0.19.1). and many YN02 errors stating twenty@workspace:. doesn't provide xxx (p908aa), requested by yyy This is marked as completed, and then goes into the fetch step which appears not to complete the full length of the process bar. After running docker exec -it twenty-server-1 npx nx database:reset I receive a message Need to install the following packages: [email protected] which appears to work correctly however afterwards I receive an error NX Could not find Nx modules in this workspace. Have you run npm/yarn install? I am running on a Digital Ocean droplet with plenty of resources. Does anyone have any ideas? Many thanks
10 Replies
NickWild
NickWildOP6mo ago
anybody have any ideas on this please?
charles
charles6mo ago
Hi @NickWild, what version of node and yarn are you using? Are you using nvm? I suspect there is a conflict there
NickWild
NickWildOP6mo ago
Thanks @charles Yes I did have an old version of node on the version of ubuntu on DO. I have now upgraded and node is now v20.15.0 and yarn is 1.22.22 however I still get the same error, but no longer with anything reported in the browser console and still the same nx error
charles
charles6mo ago
at @NickWild I think this is the issue you should be using: v18.17.1 + yarn 4.0.2 as specified in .yarnrc Make sure to use nvm to manage your versions
NickWild
NickWildOP6mo ago
Sorry brain fart! Docker does have those versions I was on auto-pilot and quoted versions on the actual DO droplet
charles
charles6mo ago
so are you still facing the nx error? could you ssh into your container, twenty folder and check if node_modules are there?
NickWild
NickWildOP6mo ago
ThanksYes still got the error@charles and no node_modules have been installed
charles
charles5mo ago
@NickWild, did you manage to get it working? I am not familiary with droplet, is docker executed on top of the droplet? if yes, could you ssh into your server container and show me what it looks like?
charles
charles5mo ago
it should look like this:
No description
charles
charles5mo ago
No description
Want results from more Discord servers?
Add your server