Skip to content

unable to build from source #633

Closed Answered by davydkov
MetalDude101 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @MetalDude101 (nice nickname)

Do I understand you right, you want to build likec4 from sources, this repository?
If so, take a look at GitHub workflows.
It always helps me to understand how projects are built, tested, etc.

As for LikeC4, you need:

  • nodejs 20.x
  • yarn cli (like 1.22.21), that delegates to the version at .yarn/releases

Then, in root:

yarn install
yarn build
# or better
yarn typecheck 

typecheck triggers build, but also gets caches of ts compile results.

Development workflow

Option 1: there is launch configuration to run/debug extension.
Hint: I also keep running yarn dev in packages/vscode-preview.
This rebuilds Preview panel. If I change only the UI part, it's enough to …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MetalDude101
Comment options

Answer selected by davydkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants