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

Serving example files not straightforward from README.md #40

Open
Josipmrden opened this issue Dec 16, 2022 · 2 comments
Open

Serving example files not straightforward from README.md #40

Josipmrden opened this issue Dec 16, 2022 · 2 comments

Comments

@Josipmrden
Copy link

Josipmrden commented Dec 16, 2022

I executed

  1. npm install
  2. npm run build
  3. npm run serve

Expected
I get examples page from which I can browse graphs

Actual
I get 404 not found

Potential resolve
Add to package.json -> scripts -> build -> tsc && webpack, not just tsc

@cizl
Copy link
Contributor

cizl commented Dec 16, 2022

Did you have a look at https://github.com/memgraph/orb#development or run install/build/serve instinctively?

The suggestion makes sense -> npm run build to both build and pack the library.

@Josipmrden
Copy link
Author

Interesting, I thought it was like that in the development section (which I obviously hadn't followed, and it yields the correct results).

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