Skip to content
New issue

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

postcss plugin error when using data-table #199

Closed
malgor opened this issue Jan 20, 2021 · 2 comments
Closed

postcss plugin error when using data-table #199

malgor opened this issue Jan 20, 2021 · 2 comments

Comments

@malgor
Copy link

malgor commented Jan 20, 2021

When I attempt to compile the basic table from Readme.md I get this error:

[!] (plugin postcss) Error: Mixin mdc-typography has no parameter named $exclude-props
node_modules@smui\textfield_index.scss
Error: Mixin mdc-typography has no parameter named $exclude-props
at options.error (C:\Users\Mal\Documents\software\

node_modules\node-sass\lib\index.js:290:33)

I feel this must be some simple oversight but I can't see what it is. I have attached my package.json in case there is an obvious dependency missing.

Thanks for any help

package.json.txt

@malgor malgor closed this as completed Jan 21, 2021
@malgor
Copy link
Author

malgor commented Jan 21, 2021

After reducing the problem to minimum levels of code I found package-lock.json had become corrupt.

@sswam
Copy link

sswam commented Feb 1, 2021

I had the same error when using TextField.

I solved this by running npm install @material/typography@4.0.0. svelte-material-ui only depended on ^3.1.0.
(but I'm now getting a new error, see here: #202)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants