Open maxtimbo opened 5 days ago
Hi, it seems you missed the package installation part (yarn
, yarn install
or similar command for another package manager)
Because commander
is explicitly listed in the monorepo root dependencies list:
https://github.com/open-condo-software/condo/blob/b40f67557b690dacf22d018e4ca200935a57294f/package.json#L41
I just tried npm install
:
$ npm install
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "link:": link:./domains
yarn
gives errors as well:
$ yarn
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
$ yarn install
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'
This is all taking place in the local repo directory that I cloned from github.
Seems like it's some local problem happening, you can try reinstall yarn...
Alright. New errors:
$ node ./bin/prepare.js
[. . .]
--> Preparing "condo" app
------> Copying app's .env.example values to .env if not exists
------> Writing assigned urls / ports / dbs to app's .env
------> Running migration script
Error: Command failed: yarn workspace @app/condo migrate
ERROR: can't get knex schema
at ChildProcess.exithandler (node:child_process:402:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
I'm getting the following error:
I've tried to install commander globally, but that doesn't work either.