Comments (4)
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:
- @angular/flex-layout: Bazel install fails
- bazelbuild/rules_sass: Add example of how to import from Angular Material's SASS stylesheets
- bazelbuild/rules_sass: Include_Import_issue
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.
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.
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.
this issue has been moved to YouTrack: DSP-283
from dsp-das.
Related Issues (20)
- Clean up dev/ folder
- Add unit tests
- Add unit tests HOT 2
- [Knora-app resource viewer mockup] What is the point for the resource path ? HOT 4
- [Knora-app resource viewer mockup] Unsure of the meaning of some icons in the property view? HOT 5
- [Knora-app resource viewer mockup] What exactly does the hyperlink icon stands for in the property view? HOT 3
- [Knora-app resource viewer mockup] Unsure of the meaning of some icons in the property view? (2) HOT 2
- [Knora-app resource viewer mockup] Incoming links and annotation in the same tab/panel HOT 2
- [Knora-app resource viewer mockup] Hoovering over a property triggers the comments HOT 4
- [Knora-app resource viewer mockup] Missing mandatory rdfs:label property HOT 4
- [Knora-app resource viewer mockup] properties-viewer-create-mode : reset button HOT 1
- [Knora-app resource viewer mockup] properties-viewer-create-mode : hint message HOT 2
- [Knora-app resource viewer mockup] properties-viewer-read-create-edit-mode : the annotation panel takes a lot of space HOT 1
- [Knora-app resource viewer mockup] properties-viewer : how to delete a resource? HOT 2
- [Knora-app resource viewer mockup] properties-viewer-read-create-edit-mode : how to set specific permission on the value of a property ? HOT 4
- Responsive style issue in project admin view HOT 1
- Refactor material icons
- Redundant configuration HOT 2
- Unsupported HTML tags in rich text editor HOT 2
- requests to create a list fails for projects with IRIs not in the form rdfh.ch/projects/shortcode HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsp-das.