We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The first thing I encountered after installing ng-bootstrap was the following error:
./src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js): SassError: Can't find stylesheet to import. ╷ 4 │ @import '~bootstrap/scss/bootstrap'; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ src/styles.scss 4:1 root stylesheet
After searching about this on the Internet I found that Angular seems to have stopped supporting tilde paths: angular/components@f2ff9e3
According to https://webpack.js.org/loaders/sass-loader/#resolving-import-at-rules, you can just remove the tilde, and it will still work. I removed the tilde in my project, and it works now.
Angular: 15.0.4
ng-bootstrap: 14.0.0
Bootstrap: 5.2.3
The text was updated successfully, but these errors were encountered:
fix(schematics): correct 'bootstrap/scss/bootstrap' imports
9fa2fa2
Removes tilda from the import Fixes ng-bootstrap#4463
Thanks for reporting this, will be fixed with 14.0.1
14.0.1
Sorry, something went wrong.
fix(schematics): correct 'bootstrap/scss/bootstrap' imports (#4465)
56b166b
Removes tilda from the import Fixes #4463
Successfully merging a pull request may close this issue.
The first thing I encountered after installing ng-bootstrap was the following error:
After searching about this on the Internet I found that Angular seems to have stopped supporting tilde paths: angular/components@f2ff9e3
According to https://webpack.js.org/loaders/sass-loader/#resolving-import-at-rules, you can just remove the tilde, and it will still work. I removed the tilde in my project, and it works now.
Versions of Angular, ng-bootstrap and Bootstrap:
Angular: 15.0.4
ng-bootstrap: 14.0.0
Bootstrap: 5.2.3
The text was updated successfully, but these errors were encountered: