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
Looks like sass-loader doesn't know how to parse this:
font: normal normal 400 16px/calc(16px * 1.4) Oxygen;
It is 100% valid value for css, but for some reason it is not valid for sass-loader.
It throws on 16px/calc(16px * 1.4) part:
ERROR in ./src/sass/globals.scss
Module build failed: ModuleBuildError: Module build failed:
font: normal normal 400 16px/calc(16px * 1.4) Oxygen;
^
16px/calc isn't a valid CSS value.
in C:\Users\user\app\src\sass\globals.scss (line 15, column 29)
at runLoaders (C:\Users\user\app\node_modules\webpack\lib\NormalModule.js:192:19)
at C:\Users\user\app\node_modules\loader-runner\lib\LoaderRunner.js:364:11
at C:\Users\user\app\node_modules\loader-runner\lib\LoaderRunner.js:230:18
at context.callback (C:\Users\user\app\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at Object.asyncSassJobQueue.push [as callback] (C:\Users\user\app\node_modules\sass-loader\lib\loader.js:57:13)
at Object.<anonymous> (C:\Users\user\app\node_modules\async\dist\async.js:2243:31)
at Object.callback (C:\Users\user\app\node_modules\async\dist\async.js:906:16)
at options.error (C:\Users\user\app\node_modules\node-sass\lib\index.js:294:32)
@ ./src/js/App.js 6:14-37
@ ./src/js/router.js
@ ./src/js/browser.js
How to solve it? Is there some special syntax for it? Quotes don't work.
The text was updated successfully, but these errors were encountered:
wzup
changed the title
sass-loader can't parse font shorthand options that are 100% valid for css
isn't a valid CSS value - sass-loader can't parse font shorthand options that are 100% valid for css
May 18, 2017
@wzup yep, it is valid css and it should be valid as scss (working on original sass compiler v4).
Problems in libsass (https://github.com/sass/libsass). We can not do anything here. Please create issue in libsass.
Looks like
sass-loader
doesn't know how to parse this:It is 100% valid value for
css
, but for some reason it is not valid forsass-loader
.It throws on
16px/calc(16px * 1.4)
part:How to solve it? Is there some special syntax for it? Quotes don't work.
The text was updated successfully, but these errors were encountered: