Git Product home page Git Product logo

Comments (3)

mswertz avatar mswertz commented on July 30, 2024

did you do a 'yarn install' in /apps ?

from molgenis-emx2.

jelmerveen avatar jelmerveen commented on July 30, 2024

As a matter of fact I did do yarn install in the /apps folder. But this has nothing to do with this error.

If you cleanly checkout emx2 repository, there will be no 'dist' folder inside the styleguide app.
to reproduce this, is by deleting the dist folder from the styleguide in your dev environment and try to start.
You will get the same error as above.

The reason is, is that you use 'workspaces' and have included the styleguide as a package in one or more apps, because of workspaces it will see the same package inside your mono-repo and will link it internally. It then tries to resolve the path and looks for the 'dist' folder inside the styleguide. With a clean install this is not present, because of .gitignore it is not added to the repo. So it will error.

So you actually have to build the styleguide as well by typing 'yarn build' inside the styleguide app. And this step is not documented.

yarn install only fetches external dependancies and does not build anything.

from molgenis-emx2.

mswertz avatar mswertz commented on July 30, 2024

documentation has been added in #341 see https://emx2.dev.molgenis.org/apps/docs/#/dev_apps

from molgenis-emx2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.