Angular Universal(SSR)出现“Rules skipped due to selector errors”错误求助
复现步骤
ng new testproject --style scss cd testproject ng add @ng-bootstrap/ng-bootstrap npm run build
问题范围
该问题并非仅出现在ng-bootstrap中,bootstrap、tailwind等任意SCSS框架均可能触发。
错误信息
1 rules skipped due to selector errors: legend+* -> Cannot read properties of undefined (reading 'type')
出现场景
该错误在SSR构建或启动时出现,开发环境与生产环境均存在此问题。
内容的提问来源于stack exchange,提问作者JuanDa237
相关产品推荐
相关产品推荐

