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
Using angular version 17.0.0 and ngx-toastr version 18.0.0.
getting this error:
./src/styles.scss - Error: Module build failed (from ./node_modules/css-loader/dist/cjs.js): Error: Can't resolve '~ngx-toastr/toastr.css' in
./src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): HookWebpackError: Module build failed (from ./node_modules/css-loader/dist/cjs.js): Error: Can't resolve '~ngx-toastr/toastr.css' in
The text was updated successfully, but these errors were encountered:
I am also getting this problem, but with the version for Angular 15... and ngx-toastr 16...
Sorry, something went wrong.
I was able to get around it by using
@import "./../node_modules/ngx-toastr/toastr.css";
instead of
@import "~ngx-toastr/toastr.css";
Does this work, @import "ngx-toastr/toastr.css";
No, look at my answer for a fix to the problem
No branches or pull requests
Using angular version 17.0.0 and ngx-toastr version 18.0.0.
getting this error:
./src/styles.scss - Error: Module build failed (from ./node_modules/css-loader/dist/cjs.js):
Error: Can't resolve '~ngx-toastr/toastr.css' in
./src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/css-loader/dist/cjs.js):
Error: Can't resolve '~ngx-toastr/toastr.css' in
The text was updated successfully, but these errors were encountered: