orb icon indicating copy to clipboard operation
orb copied to clipboard

Serving example files not straightforward from README.md

Open Josipmrden opened this issue 3 years ago • 2 comments

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

Josipmrden avatar Dec 16 '22 14:12 Josipmrden

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.

cizl avatar Dec 16 '22 14:12 cizl

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

Josipmrden avatar Dec 16 '22 15:12 Josipmrden