devonfw/jump-the-queue

Typo in code snippet of styles of "Adding Google Material and Covalent Teradata"

Opened this issue · 0 comments

Category: Bug

Severity: Medium

Expected behaviour (In case of bug)
Code snippet compiles as given in the tutorial

Actual/current behaviour (In case of bug)
doesn't compile:
ERROR in multi ./src/styles.css ./src/theme.scss ./node_modules/@covalent/core/common/platform.css
Module not found: Error: Can't resolve 'C:\Devon-dist_3.0.0\workspaces\cashplanner2\angular\src\styles.css' in 'C:\Devon-dist_3.0.0\workspaces\cashplanner2\angular'

Steps to reproduce (In case of bug)
follow steps of tutorial, (https://github.com/devonfw/devonfw-tutorial-sources/wiki/build-devon4ng-application#adding-google-material-and-covalent-teradata) especially:

Now we have to add these styles in angular/CLI config. Go to angular.json in the root folder, then search both of the "styles" arrays (inside build and test) and add theme and Covalent platform.css to make it look like this:

....
            "styles": [
              "src/styles.css",
              "src/theme.scss",
              "node_modules/@covalent/core/common/platform.css"
            ],
....

Description of issue / expected enhacement /Comments
"src/styles.css" is missing an s, it must be "src/styles.scss"

Your environment - windows/Linux, Devonfw version , component