angularcli / webpack / materialize项目出错

时间:2017-09-20 12:12:36

标签: css angular sass materialize

我在构建时多次出现此错误:

ERROR in ./node_modules/css-loader?{"sourceMap":false,"importLoaders":1}!./node_modules/postcss-loader?{"ident":"postcss"}!./node_modules/sass-loader/lib/loader.js?{"sourceMap":false,"precision":8,"includePaths":[]}!./node_modules/materialize-css/sass/materialize.scss
Module not found: Error: Can't resolve '../fonts/roboto/Roboto-Bold.woff' in 'C:\Users\Administrateur\Documents\dev\angular\ProjectDemo\node_modules\materialize-css\sass'
 @ ./node_modules/css-loader?{"sourceMap":false,"importLoaders":1}!./node_modules/postcss-loader?{"ident":"postcss"}!./node_modules/sass-loader/lib/loader.js?{"sourceMap":false,"precision":8,"includePaths":[]}!./node_modules/materialize-css/sass/materialize.scss 6:78441-78484
 @ ./node_modules/materialize-css/sass/materialize.scss
 @ multi ./node_modules/materialize-css/sass/materialize.scss ./src/assets/scss/main.scss

我不明白发生了什么事?有人可以向我解释一下吗?

0 个答案:

没有答案