Git Product home page Git Product logo

Comments (4)

kilchenmann avatar kilchenmann commented on August 20, 2024 1

Adding bazel doesn't seem to be quite easy to implement. There are some issues with sass/scss especially with the material theming and with @angular/flex-layout.

I tried to fix it by following these issues:

But ng s or ng build --leaveBazelFilesOnDisk still failing. I got the following errors:

ERROR: knora-app/src/BUILD.bazel:26:1: Compiling Sass failed (Exit 65)
Error: Can't find stylesheet to import.
  ╷
6 │ @import 'external/npm/node_modules/@angular/material/theming';
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src/assets/style/_theme.scss 6:9             @import
  src/app/main/login/login.component.scss 1:9  root stylesheet

Error: Can't find stylesheet to import.
  ╷
1 │ @import 'external/npm/node_modules/@angular/material/theming';
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src/app/project/ontology/ontology.component.scss 1:9  root stylesheet

[...]

I'm working on branch wip/add-bazel

from dsp-das.

subotic avatar subotic commented on August 20, 2024

Great, thanks. I will take a look. At first glance, this looks like a dependency configuration issue. Bazel is building everything in a sandbox, and if the external dependencies are not configured correctly, then stuff is missing in the sandbox.

from dsp-das.

kilchenmann avatar kilchenmann commented on August 20, 2024

All you have to know about bazel:
https://youtu.be/J1lnp-nU4wM
or in the summary:
https://youtu.be/wYUQ0RtN7oc

Btw I will try to implement again after adding knora-api-js-lib

from dsp-das.

flavens avatar flavens commented on August 20, 2024

this issue has been moved to YouTrack: DSP-283

from dsp-das.

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.