錯誤訊息 Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import The plugin “angular-sass” was triggered by this import
處理方式
src/style.scss引入方式@import修改為@use
1
@use 'bootstrap/scss/bootstrap';
錯誤訊息 打包時 Did not expect successive traversals.
▲ [WARNING] 9 rules skipped due to selector errors: .table>>> -> Did not expect successive traversals. .table-sm>>> -> Did not expect successive traversals. .table-bordered>>* -> Did not expect successive traversals. .table-bordered>>> -> Did not expect successive traversals. .table-borderless>>> -> Did not expect successive traversals. .form-floating>label -> Did not expect successive traversals. .form-floating>label -> Did not expect successive traversals. .btn-group>+.btn -> Did not expect successive traversals. .btn-group>+.btn -> Did not expect successive traversals.
✘ [ERROR] The ‘index/product/:id’ route uses prerendering and includes parameters, but ‘getPrerenderParams’ is missing. Please define ‘getPrerenderParams’ function for this route in your server routing configuration or specify a different ‘renderMode’.
處理方式
1 2 3 4 5 6 7 8 9
import { RenderMode, ServerRoute } from '@angular/ssr';
Would you like to share pseudonymous usage data about this project with the Angular Team
at Google under Google's Privacy Policy at https://policies.google.com/privacy. For more
details and how to change this setting, see https://angular.dev/cli/analytics.
您願意與 Angular 團隊分享有關此項目的匿名使用數據嗎
根據 Google 的隱私權政策 (https://policies.google.com/privacy) 在 Google 進行操作。了解更多
詳細資訊以及如何更改此設置,請參閱 https://angular.dev/cli/analytics。
//先安裝Angular Material ng add @angular/material 套件@angular/material@19.2.1 將被安裝並執行。 您要繼續嗎? (是/否) The package @angular/material@19.2.1 will be installed and executed. Would you like to proceed? (Y/n)