Matblazor: Issue when building MatBlazor.Web

Created on 2 Apr 2020  路  5Comments  路  Source: SamProf/MatBlazor

I'm getting this error when building MatBlazor.Web project. Any tips how to fix this?

Screenshot 2020-04-02 17 58 35

Most helpful comment

Ok, I managed to fix this. It looks like a known issue.

  1. I did this: https://github.com/material-components/material-components-web/issues/5502#issuecomment-586061492
    npm uninstall node-sass
  1. this: https://github.com/material-components/material-components-web/issues/5502#issuecomment-587493832
    Added to prod.config.js

All 5 comments

This may be a silly question, but did you run npm install?

I was expecting that question :D Yes I did.

Ok, I managed to fix this. It looks like a known issue.

  1. I did this: https://github.com/material-components/material-components-web/issues/5502#issuecomment-586061492
    npm uninstall node-sass
  1. this: https://github.com/material-components/material-components-web/issues/5502#issuecomment-587493832
    Added to prod.config.js

Reading the thread on material-components, it looks like we should remove node-sass from package.json

Closing this one as a fix was merged (Works fine for me with a clean git clone)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rogeralsing picture rogeralsing  路  5Comments

GioviQ picture GioviQ  路  6Comments

sowsan picture sowsan  路  5Comments

JeroMiya picture JeroMiya  路  6Comments

TheAnachronism picture TheAnachronism  路  6Comments