You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
UnhandledPromiseRejectionWarning: Error: no mixin named checkbox-primary #44
After updating material to 1.1.23, I'm getting this error when building.
(node:23488) UnhandledPromiseRejectionWarning: Error: no mixin named checkbox-primary
at Object.module.exports.renderSync (/home/norkunas/www/node_modules/node-sass/lib/index.js:441:16)
at Function.CSSBuilder._compileSCSS (/home/norkunas/www/node_modules/angular-material-tools/lib/builders/CSSBuilder.js:49:29)
at MaterialTools.MaterialBuilder._buildTheme (/home/norkunas/www/node_modules/angular-material-tools/lib/builders/MaterialBuilder.js:71:48)
at /home/norkunas/www/gulp/styles.js:39:28
OK, it looks like the 1.0.0-beta.9 release was bad. It included the whole repo w/o the dist/ folder and didn't publish the built files in dist/ as it should have.
The workaround for now is to use "angular-material-tools": "1.0.0-beta.8",
I'll try to get this resolved and put out another release soon.
I fixed this exception in dc8e6be, but that just led to another exception:
(node:10260) UnhandledPromiseRejectionWarning: TypeError: Reduce of empty array with no initial value
at Array.reduce (<anonymous>)
at ThemeBuilder.build (/Users/splaktar/Git/devintent/material-tools-test/node_modules/angular-material-tools/lib/builders/ThemeBuilder.js:40:14)
at MaterialTools.MaterialBuilder._buildTheme (/Users/splaktar/Git/devintent/material-tools-test/node_modules/angular-material-tools/lib/builders/MaterialBuilder.js:73:50)
at /Users/splaktar/Git/devintent/material-tools-test/gulpfile.js:11:13
(node:10260) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:10260) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Activity
Splaktar commentedon Jun 22, 2020
Can you provide any reproduction steps? I'm seeing
npm run test:versionspass in current master and with PR #45.norkunas commentedon Jun 23, 2020
package.json:
gulpfile.js:
For some reason it's enough to pass the empty
themeskey to the builder and then it fails/without it succeeds..norkunas commentedon Aug 4, 2020
Will this be fixed? :)
Splaktar commentedon Aug 7, 2020
Yes, we plan to fix this, but we've been heads down on getting the
1.2.0release out. Now that that is done, this issue can get some attention.feat: add basic reproduction
Splaktar commentedon Oct 29, 2020
OK, it looks like the 1.0.0-beta.9 release was bad. It included the whole repo w/o the
dist/folder and didn't publish the built files indist/as it should have.The workaround for now is to use
"angular-material-tools": "1.0.0-beta.8",I'll try to get this resolved and put out another release soon.
Splaktar commentedon Oct 29, 2020
It looks like the change of
mixins.scssto_mixins.scssin1.1.23caused this exception.I made this repo to help debug this.
I fixed this exception in dc8e6be, but that just led to another exception:
I'll investigate this next.
Splaktar commentedon Oct 30, 2020
@norkunas thank you very much for this report and the reminders to follow up on it!
I believe that these issues are all addressed. Can you please give
1.0.0-rc.3a try and let us know how it works for you?If it looks good for you, we will release an official
1.0.0.norkunas commentedon Oct 30, 2020
Thank you for fixing it :) I'll check it on tuesday.
norkunas commentedon Nov 3, 2020
I confirm it works for us upgrading to material v1.2 :) thank you once more.
Splaktar commentedon Nov 3, 2020
@norkunas great! Thank you very much for taking the time to try it out and report back here. Much appreciated ⭐