Bartek1 Napisano Grudzień 9, 2023 Zgłoś Napisano Grudzień 9, 2023 Witam, uczę się angulara, jestem początkującym. Według jednego z artykułów magazynu programistycznego wykonywałem kolejne kroi i nagle napotkałem błąd poniżej. Działam w Windows, Visual Studio Code. Błagam o pomoc, bo szukałem po całym internecie i żaden wpis nie rozwiązał mojego problemu. Z góry dzięki. PS C:\Users\Bartek_pr\Documents\Projekty\pokemonpedia> ng serve -o ⠸ Building... X [ERROR] NG8001: 'mat-toolbar' is not a known element: 1. If 'mat-toolbar' is an Angular component, then verify that it is included in the '@Component.imports' of this component. 2. If 'mat-toolbar' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@Component.schemas' of this component to suppress this message. [plugin angular-compiler] src/app/app.component.html:0:0: 0 │ ╵ ^ Error occurs in the template of component AppComponent. src/app/app.component.ts:9:15: 9 │ templateUrl: './app.component.html', ╵ ~~~~~~~~~~~~~~~~~~~~~~ X [ERROR] @use rules must be written before any other rules. ╷ 39 │ @use '@angular/material' as mat; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ src\custom-theme.scss 39:1 root stylesheet [plugin angular-sass] angular:styles/global:styles:1:8: 1 │ @import 'src/custom-theme.scss'; ╵ ~~~~~~~~~~~~~~~~~~~~~~~ Application bundle generation failed. [4.942 seconds] Watch mode enabled. Watching for file changes... Cytuj
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.