thi-ng / umbrella

⛱ Broadly scoped ecosystem & mono-repository of 198 TypeScript projects (and ~175 examples) for general purpose, functional, data driven development
https://thi.ng
Apache License 2.0
3.31k stars 144 forks source link

[examples] Issue running the examples (failed to resolve entry for package) #458

Closed arnaudchenyensu closed 4 months ago

arnaudchenyensu commented 4 months ago

Hi,

I'm having some issues running the examples. I cloned the repo, cd examples/stacked-layout, yarn install and yarn start but then I have the following error:

Screen Shot 2024-03-09 at 12 51 56 pm

Did I miss something?

Best, Arnaud.

postspectacular commented 4 months ago

Hi @arnaudchenyensu - the examples are all configured to use local workspace/repo references and so the build instructions are slightly different than what you've done here (also linked from the readme of each example):

https://github.com/thi-ng/umbrella/wiki/Example-build-instructions

The main difference is that you first need to build the entire repo (once) before being able to run any of the examples locally... Hope that helps!

arnaudchenyensu commented 4 months ago

Thank you! My bad, I misread, I thought the first step was optional...

postspectacular commented 4 months ago

@arnaudchenyensu - yeah, sorry it's not optional. The main reason for this setup is to ensure the 150+ examples aren't cluttered with their own individual node_modules dirs and also to force examples using always the latest version of each package (i.e. those in the workspace under /packages/*, just keeps things much faster & easier to maintain...)