calcom / cal.com

Scheduling infrastructure for absolutely everyone.
https://cal.com
Other
31.77k stars 7.75k forks source link

Problem with yarn #16585

Open fabforms opened 4 weeks ago

fabforms commented 4 weeks ago

I have installed all the prerequsites

When I run yarn dx

I get

Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)

Any ideas ?

kk7188048 commented 3 weeks ago

While installation last night I did not get any errors. Try reinstalling the whole project

munnaverma-inventyv commented 3 weeks ago

hey @fabforms ! have your Docker is in running state in local machine if not first start docker then hit yarn dx command

fabforms commented 3 weeks ago

I have docker installed and docker compose installed

The latest version on yarn, postgress, mode.js

This yarn tool does not have friendly errors How do I know it's in a running state

Sent from Proton Mail Android

-------- Original Message -------- On 9/12/24 1:33 PM, Munna Verma wrote:

hey @.***(https://github.com/fabforms) ! have your Docker is in running state in local machine if not first start docker then hit yarn dx command

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

JVKeller commented 3 weeks ago

Not sure if it's related, but I'm trying to set this up as well and get this error: ERROR: There are no scenarios; must have at least one. Fresh install of everything. Installing via github clone.

JVKeller commented 3 weeks ago

I had yarn installed from the wrong depository I guess...

apt remove cmdtest
apt remove yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
apt update
apt install yarn
fabforms commented 3 weeks ago

I had yarn installed from the wrong depository I guess...

apt remove cmdtest
apt remove yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
apt update
apt install yarn

I tried this still getting same error I'm now on day 3 of trying to just install and run this

JVKeller commented 3 weeks ago

What have you done so far?

On Thu, Sep 12, 2024, 6:47 PM Geoff @.***> wrote:

I had yarn installed from the wrong depository I guess...

apt remove cmdtest apt remove yarn curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list apt update apt install yarn

I tried this still getting same error I'm now on day 3 of trying to just install and run this

— Reply to this email directly, view it on GitHub https://github.com/calcom/cal.com/issues/16585#issuecomment-2347367863, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG6GTYSIG4DXGESBVYHF6KDZWIKWNAVCNFSM6AAAAABN7VGYCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBXGM3DOOBWGM . You are receiving this because you commented.Message ID: <calcom/cal. @.***>

fabforms commented 3 weeks ago

I have followed all the instructions

Node.js (Version: >=18.x) PostgreSQL (Version: >=13.x) Yarn (recommended)

I have installed docker and docker composer

And have them running even though the docs dont mention that .

Why does this say Yarn is recommended when it looks like it is clearly a requirement

I am using version 3.4.1 of yarn Node.js version 20.17

Are these versions ok ?

I'm on day 4 on trying to install cal.com Very frustrating . Documentation is not clear

And the yarn error is horrible

munnaverma-inventyv commented 3 weeks ago

I have docker installed and docker compose installed The latest version on yarn, postgress, mode.js This yarn tool does not have friendly errors How do I know it's in a running state Sent from Proton Mail Android -------- Original Message -------- On 9/12/24 1:33 PM, Munna Verma wrote: hey @.(https://github.com/fabforms) ! have your Docker is in running state in local machine if not first start docker then hit yarn dx command — Reply to this email directly, [view it on GitHub](#16585 (comment)), or unsubscribe. You are receiving this because you were mentioned.Message ID: @.>

image have you run Docker decskotop like this

fabforms commented 3 weeks ago

I'm not running docker desktop

I'm using the Linux terminal

Please explain how run cal.com from the terminal .

Do I have to use yarn or is there another way

fabforms commented 3 weeks ago

This error message seems to be related with not copying the node_modules correctly from the DockFile in the infra folder

Since this project is so complicated with so much tooling I can't pin point where to fix it To get cal.com running on my own server

JVKeller commented 3 weeks ago

They ask not to make bug reports when trying to set up self hosting to keep it clean for the hosted support. I'm going to make a post in the discussion section with a link to the steps I did to get it set up. Should be there in a few minutes.

Thanks Cal.com team!

fabforms commented 3 weeks ago

Please send me that link with the list of steps to install as im now on 4 days trying to install this software

JVKeller commented 3 weeks ago

If you have any more questions, lets move the discussion here: https://github.com/JVKeller/cal.com-proxmox/discussions/1