Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
arnaudchenyensu opened this issue Mar 9, 2024 · 3 comments

Comments

@arnaudchenyensu
Copy link

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
Copy link
Member

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
Copy link
Author

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

@postspectacular
Copy link
Member

@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...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants